2013-10-14 06:36:39 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, freetype,
|
|
|
|
icu ? null, graphite2 ? null, libintlOrEmpty }:
|
2012-09-27 21:23:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-29 12:45:26 +00:00
|
|
|
name = "harfbuzz-0.9.12";
|
2012-09-27 21:23:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.freedesktop.org/software/harfbuzz/release/${name}.tar.bz2";
|
2013-01-29 12:45:26 +00:00
|
|
|
sha256 = "19cx5y2m20rp7z5j7mwqfb4ph2g8lrri69zim44x362y4w5gfly6";
|
2012-09-27 21:23:36 +00:00
|
|
|
};
|
|
|
|
|
2013-10-14 06:36:39 +00:00
|
|
|
buildInputs = [ pkgconfig glib freetype ]
|
|
|
|
++ libintlOrEmpty;
|
|
|
|
propagatedBuildInputs = []
|
|
|
|
++ (stdenv.lib.optionals (icu != null) [icu])
|
|
|
|
++ (stdenv.lib.optionals (graphite2 != null) [graphite2])
|
|
|
|
;
|
2012-09-27 21:23:36 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An OpenType text shaping engine";
|
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/HarfBuzz;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|