diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-08-08 23:25:58 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-08-08 23:27:21 -0300 |
commit | 9f61e20a68ceaa8e5a9dcf59eb4c7f04b00cd027 (patch) | |
tree | c66e88ba8ffa0984437c753d44ac2589e7cb1d24 /pkgs/applications/emulators | |
parent | 8243b319494f2d56e0bdf96133642fb86d481469 (diff) |
x16-rom: 40 -> 41
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/commanderx16/rom.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/applications/emulators/commanderx16/rom.nix b/pkgs/applications/emulators/commanderx16/rom.nix index 617c0a16b83c5..7290413d5012d 100644 --- a/pkgs/applications/emulators/commanderx16/rom.nix +++ b/pkgs/applications/emulators/commanderx16/rom.nix @@ -5,15 +5,15 @@ , python3 }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "x16-rom"; - version = "40"; + version = "41"; src = fetchFromGitHub { owner = "commanderx16"; - repo = pname; - rev = "r${version}"; - hash = "sha256-5oqttuTJiJOUENncOJipAar22OsI1uG3G69m+eYoSh0="; + repo = "x16-rom"; + rev = "r${finalAttrs.version}"; + hash = "sha256-kowdyUVi3hliqkL8VQo5dS3Dpxd4LQi5+5brkdnv0lE="; }; nativeBuildInputs = [ @@ -30,8 +30,8 @@ stdenv.mkDerivation rec { installPhase = '' runHook preInstall - install -Dm 444 -t $out/share/${pname} build/x16/rom.bin - install -Dm 444 -t $out/share/doc/${pname} README.md + install -Dm 444 -t $out/share/x16-rom/ build/x16/rom.bin + install -Dm 444 -t $out/share/doc/x16-rom/ README.md runHook postInstall ''; @@ -45,8 +45,8 @@ stdenv.mkDerivation rec { }; passthru = { - # upstream project recommends emulator and rom synchronized; + # upstream project recommends emulator and rom to be synchronized; # passing through the version is useful to ensure this - inherit version; + inherit (finalAttrs) version; }; -} +}) |