tumiki-fighters: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:43:03 +01:00
parent 57489ed071
commit 1aa139fa7d

View file

@ -16,12 +16,12 @@ debianPatch = patchname: hash: fetchpatch {
sha256 = hash;
};
in stdenv.mkDerivation rec {
in stdenv.mkDerivation (finalAttrs: {
pname = "tumiki-fighters";
version = "0.21";
src = fetchurl {
url = "http://abagames.sakura.ne.jp/windows/tf${lib.replaceStrings ["."] ["_"] version}.zip";
url = "http://abagames.sakura.ne.jp/windows/tf${lib.replaceStrings ["."] ["_"] finalAttrs.version}.zip";
sha256 = "0djykfc1r8ysapklm621h89ana1c4qzc1m5nr9bqw4iccnmvwk3p";
};
@ -94,4 +94,4 @@ in stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})