x16-rom: 40 -> 41
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user