vengi-tools: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:06:22 +01:00
parent 7e61e18de8
commit 9532f335d6

View file

@ -27,14 +27,14 @@
, nixosTests
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "vengi-tools";
version = "0.0.28";
src = fetchFromGitHub {
owner = "mgerhardy";
repo = "vengi";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-UjSm/J/y7MUg3Exmw0P56+bcjiLxXdGS2brocdzgJ+c=";
};
@ -107,4 +107,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})