curseofwar: use finalAttrs pattern
This commit is contained in:
parent
4113399ce0
commit
bbc575d87c
1 changed files with 4 additions and 5 deletions
|
@ -4,14 +4,14 @@
|
||||||
, SDL
|
, SDL
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "curseofwar";
|
pname = "curseofwar";
|
||||||
version = "1.3.0";
|
version = "1.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "a-nikolaev";
|
owner = "a-nikolaev";
|
||||||
repo = pname;
|
repo = "curseofwar";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
sha256 = "1wd71wdnj9izg5d95m81yx3684g4zdi7fsy0j5wwnbd9j34ilz1i";
|
sha256 = "1wd71wdnj9izg5d95m81yx3684g4zdi7fsy0j5wwnbd9j34ilz1i";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -33,5 +33,4 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ fgaz ];
|
maintainers = with maintainers; [ fgaz ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue