git.iko.soy/typeable/nixpkgs
on master help sign in
x16-emulator: 38 -> 40
commit97165f331eee24f445a0fa70c566083c6659dea1 authorAndersonTorres <torres.anderson.85@protonmail.com> dateSun 24 Apr 2022, 00:19 (5 years ago) parent5088ed8
1 file changed+7−5
pkgs/applications/emulators/commanderx16/emulator.nix+7−5
pkgs/applications/emulators/commanderx16/emulator.nix+7−5
@@ -6,13 +6,13 @@
66
77stdenv.mkDerivation rec {
88 pname = "x16-emulator";
9− version = "38";
9+ version = "40";
1010
1111 src = fetchFromGitHub {
1212 owner = "commanderx16";
1313 repo = pname;
1414 rev = "r${version}";
15− sha256 = "WNRq/m97NpOBWIk6mtxBAKmkxCGWacWjXeOvIhBrkYE=";
15+ hash = "sha256-7ZzVd2NJCFNAFrS2cj6bxcq/AzO5VakoFX9o1Ac9egg=";
1616 };
1717
1818 dontConfigure = true;
@@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
2121
2222 installPhase = ''
2323 runHook preInstall
24− install -D --mode 755 --target-directory $out/bin/ x16emu
25− install -D --mode 444 --target-directory $out/share/doc/${pname} README.md
24+
25+ install -Dm 755 -t $out/bin/ x16emu
26+ install -Dm 444 -t $out/share/doc/${pname} README.md
27+
2628 runHook postInstall
2729 '';
2830
@@ -31,7 +33,7 @@ stdenv.mkDerivation rec {
3133 description = "The official emulator of CommanderX16 8-bit computer";
3234 license = licenses.bsd2;
3335 maintainers = with maintainers; [ AndersonTorres ];
34− platforms = SDL2.meta.platforms;
36+ inherit (SDL2.meta) platforms;
3537 };
3638
3739 passthru = {