git.iko.soy/typeable/nixpkgs
on master help sign in
caprice32: 4.5.0 -> 4.6.0
commitbe768d1ef384a71415e670f87c950f1451349263 authorBignaux Ronan <ronan@aimao.org> dateSat 14 Mar 2020, 16:33 (7 years ago) parentea8efb2
1 file changed+10−7
pkgs/misc/emulators/caprice32/default.nix+10−7
pkgs/misc/emulators/caprice32/default.nix+10−7
@@ -3,27 +3,30 @@
33stdenv.mkDerivation rec {
44
55 pname = "caprice32";
6− version = "4.5.0";
6+ version = "4.6.0";
77
88 src = fetchFromGitHub {
99 repo = "caprice32";
1010 rev = "v${version}";
1111 owner = "ColinPitrat";
12− sha256 = "056vrf5yq1574g93ix8hnjqqbdqza3qcjv0f8rvpsslqcbizma9y";
12+ sha256 = "0hng5krwgc1h9bz1xlkp2hwnvas965nd7sb3z9mb2m6x9ghxlacz";
1313 };
1414
15− postPatch = "substituteInPlace cap32.cfg --replace /usr/local $out";
1615 nativeBuildInputs = [ pkgconfig ];
1716 buildInputs = [ libpng SDL freetype zlib ];
1817
19− #fix GIT_HASH avoid depend on git
20− makeFlags = [ "GIT_HASH=${src.rev}" "DESTDIR=$(out)" "prefix=/"];
18+ makeFlags = [
19+ "APP_PATH=${placeholder "out"}/share/caprice32"
20+ "RELEASE=1"
21+ "DESTDIR=${placeholder "out"}"
22+ "prefix=/"
23+ ];
2124
2225 meta = with stdenv.lib; {
2326 description = "A complete emulation of CPC464, CPC664 and CPC6128";
24− homepage = https://github.com/ColinPitrat/caprice32 ;
27+ homepage = "https://github.com/ColinPitrat/caprice32";
2528 license = licenses.gpl2;
2629 maintainers = [ maintainers.genesis ];
2730 platforms = platforms.linux;
28− };
31+ };
2932}