From 9f61e20a68ceaa8e5a9dcf59eb4c7f04b00cd027 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Mon, 8 Aug 2022 23:25:58 -0300 Subject: [PATCH] x16-rom: 40 -> 41 --- .../emulators/commanderx16/rom.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/emulators/commanderx16/rom.nix b/pkgs/applications/emulators/commanderx16/rom.nix index 617c0a16b83c..7290413d5012 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; }; -} +})