toppler: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:41:27 +01:00
parent f82c584a47
commit 0d502d2c17

View file

@ -15,14 +15,14 @@
, zlib
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "toppler";
version = "1.3";
src = fetchFromGitLab {
owner = "roever";
repo = "toppler";
rev = "v${version}";
rev = "v${finalAttrs.version}";
sha256 = "sha256-ecEaELu52Nmov/BD9VzcUw6wyWeHJcsKQkEzTnaW330=";
};
@ -58,4 +58,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}
})