2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, instead, qmake4Hook, zlib }:
|
2017-04-01 01:43:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "instead-launcher";
|
2017-04-01 01:43:12 +00:00
|
|
|
|
2017-06-01 01:09:50 +00:00
|
|
|
version = "0.7.0";
|
2017-04-01 01:43:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "instead-hub";
|
|
|
|
repo = "instead-launcher";
|
|
|
|
rev = version;
|
2017-06-01 01:09:50 +00:00
|
|
|
sha256 = "1svy8i8anspway01pnz2cy69aad03anvkq04wrdfv1h9c34gbvb9";
|
2017-04-01 01:43:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./path.patch ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace platform.cpp --subst-var-by instead ${instead}
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://instead.syscall.ru/wiki/en/instead-launcher";
|
2017-04-01 01:43:12 +00:00
|
|
|
description = "Install and play games from INSTEAD repository";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
};
|
|
|
|
}
|