tkman: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:51:58 +01:00
parent 0af8e41150
commit 0a6d9c157b

View file

@ -10,12 +10,12 @@
, rman , rman
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "tkman"; pname = "tkman";
version = "2.2"; version = "2.2";
src = fetchzip { src = fetchzip {
url = "mirror://sourceforge/tkman/tkman-${version}.tar.gz"; url = "mirror://sourceforge/tkman/tkman-${finalAttrs.version}.tar.gz";
hash = "sha256-S4ffz+7zmVy9+isz/8q+FV4wF5Rw2iL1ftY8RsJjRLs="; hash = "sha256-S4ffz+7zmVy9+isz/8q+FV4wF5Rw2iL1ftY8RsJjRLs=";
}; };
@ -84,4 +84,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ fgaz ]; maintainers = with maintainers; [ fgaz ];
}; };
} })