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
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "tkman";
version = "2.2";
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=";
};
@ -84,4 +84,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
maintainers = with maintainers; [ fgaz ];
};
}
})