hikounomizu: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:34:02 +01:00
parent 20ae40a0c6
commit 07eab6751d

View File

@ -22,12 +22,12 @@
, bc
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "hikounomizu";
version = "1.0.1";
src = fetchurl {
url = "http://download.tuxfamily.org/hnm/${version}/hikounomizu-${version}-src.tar.bz2";
url = "http://download.tuxfamily.org/hnm/${finalAttrs.version}/hikounomizu-${finalAttrs.version}-src.tar.bz2";
hash = "sha256-3wRhe6CDq1dD0SObAygfqslYJx+EM3LM3rj6HI0whYU=";
};
@ -78,4 +78,4 @@ stdenv.mkDerivation rec {
license = [ licenses.gpl3Plus licenses.lal13 ];
platforms = platforms.all;
};
}
})