curseofwar: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:29:21 +01:00
parent 4113399ce0
commit bbc575d87c

View file

@ -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;
};
}
})