ttfautohint: use finalAttrs

This commit is contained in:
kyehn
2025-09-02 06:04:08 +00:00
committed by kyehn
parent 7d96b8d32d
commit 51464d1789
+4 -4
View File
@@ -11,17 +11,17 @@
enableGUI ? true,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
version = "1.8.4";
pname = "ttfautohint";
src = fetchurl {
url = "mirror://savannah/freetype/ttfautohint-${version}.tar.gz";
url = "mirror://savannah/freetype/ttfautohint-${finalAttrs.version}.tar.gz";
hash = "sha256-iodhF/puv9L/4bNoKpqYyALA9HGJ9X09tLmXdCBoMuE=";
};
postPatch = ''
echo "${version}" > VERSION
echo "${finalAttrs.version}" > VERSION
'';
postAutoreconf = ''
@@ -59,4 +59,4 @@ stdenv.mkDerivation rec {
maintainers = [ ];
platforms = lib.platforms.unix;
};
}
})