···1+{ stdenv, fetchurl, harfbuzz, pkgconfig, qt4 }:
2+3+stdenv.mkDerivation rec {
4+ version = "1.3";
5+ name = "ttfautohint-${version}";
6+7+ src = fetchurl {
8+ url = "mirror://savannah/freetype/${name}.tar.gz";
9+ sha256 = "01719jgdzgf0m4fzkkij563iksr40c7wydv1yq8ygpxjj0vs17y3";
10+ };
11+12+ buildInputs = [ harfbuzz pkgconfig qt4 ];
13+14+ meta = with stdenv.lib; {
15+ description = "An automatic hinter for TrueType fonts";
16+ longDescription = ''
17+ A library and two programs which take a TrueType font as the
18+ input, remove its bytecode instructions (if any), and return a
19+ new font where all glyphs are bytecode hinted using the
20+ information given by FreeType’s auto-hinting module.
21+ '';
22+ homepage = http://www.freetype.org/ttfautohint/;
23+ license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause)
24+ maintainers = [ maintainers.goibhniu ];
25+ platforms = platforms.all;
26+ };
27+28+}