tumiki-fighters: use finalAttrs pattern
This commit is contained in:
parent
57489ed071
commit
1aa139fa7d
1 changed files with 3 additions and 3 deletions
|
@ -16,12 +16,12 @@ debianPatch = patchname: hash: fetchpatch {
|
||||||
sha256 = hash;
|
sha256 = hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "tumiki-fighters";
|
pname = "tumiki-fighters";
|
||||||
version = "0.21";
|
version = "0.21";
|
||||||
|
|
||||||
src = fetchurl {
|
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";
|
sha256 = "0djykfc1r8ysapklm621h89ana1c4qzc1m5nr9bqw4iccnmvwk3p";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -94,4 +94,4 @@ in stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ fgaz ];
|
maintainers = with maintainers; [ fgaz ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue