diff options
author | Bignaux Ronan <ronan@aimao.org> | 2020-03-14 16:33:54 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-03-15 04:04:09 +0000 |
commit | be768d1ef384a71415e670f87c950f1451349263 (patch) | |
tree | 1011e90e34661f56fdc5b2b781443358f00ff4a6 | |
parent | ea8efb20a75b56284ecb8bc0d1d4cb9acc202620 (diff) |
caprice32: 4.5.0 -> 4.6.0
-rw-r--r-- | pkgs/misc/emulators/caprice32/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/misc/emulators/caprice32/default.nix b/pkgs/misc/emulators/caprice32/default.nix index a8068e9b47b6c..8d336b0ba3da1 100644 --- a/pkgs/misc/emulators/caprice32/default.nix +++ b/pkgs/misc/emulators/caprice32/default.nix @@ -3,27 +3,30 @@ stdenv.mkDerivation rec { pname = "caprice32"; - version = "4.5.0"; + version = "4.6.0"; src = fetchFromGitHub { repo = "caprice32"; rev = "v${version}"; owner = "ColinPitrat"; - sha256 = "056vrf5yq1574g93ix8hnjqqbdqza3qcjv0f8rvpsslqcbizma9y"; + sha256 = "0hng5krwgc1h9bz1xlkp2hwnvas965nd7sb3z9mb2m6x9ghxlacz"; }; - postPatch = "substituteInPlace cap32.cfg --replace /usr/local $out"; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ libpng SDL freetype zlib ]; - #fix GIT_HASH avoid depend on git - makeFlags = [ "GIT_HASH=${src.rev}" "DESTDIR=$(out)" "prefix=/"]; + makeFlags = [ + "APP_PATH=${placeholder "out"}/share/caprice32" + "RELEASE=1" + "DESTDIR=${placeholder "out"}" + "prefix=/" + ]; meta = with stdenv.lib; { description = "A complete emulation of CPC464, CPC664 and CPC6128"; - homepage = https://github.com/ColinPitrat/caprice32 ; + homepage = "https://github.com/ColinPitrat/caprice32"; license = licenses.gpl2; maintainers = [ maintainers.genesis ]; platforms = platforms.linux; - }; + }; } |