···11+{ stdenv, fetchurl, harfbuzz, pkgconfig, qt4 }:
22+33+stdenv.mkDerivation rec {
44+ version = "1.3";
55+ name = "ttfautohint-${version}";
66+77+ src = fetchurl {
88+ url = "mirror://savannah/freetype/${name}.tar.gz";
99+ sha256 = "01719jgdzgf0m4fzkkij563iksr40c7wydv1yq8ygpxjj0vs17y3";
1010+ };
1111+1212+ buildInputs = [ harfbuzz pkgconfig qt4 ];
1313+1414+ meta = with stdenv.lib; {
1515+ description = "An automatic hinter for TrueType fonts";
1616+ longDescription = ''
1717+ A library and two programs which take a TrueType font as the
1818+ input, remove its bytecode instructions (if any), and return a
1919+ new font where all glyphs are bytecode hinted using the
2020+ information given by FreeType’s auto-hinting module.
2121+ '';
2222+ homepage = http://www.freetype.org/ttfautohint/;
2323+ license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause)
2424+ maintainers = [ maintainers.goibhniu ];
2525+ platforms = platforms.all;
2626+ };
2727+2828+}