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
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "curseofwar";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "a-nikolaev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
repo = "curseofwar";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "1wd71wdnj9izg5d95m81yx3684g4zdi7fsy0j5wwnbd9j34ilz1i";
|
||||
};
|
||||
|
||||
|
@ -33,5 +33,4 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with maintainers; [ fgaz ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue