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