2013-11-17 13:16:28 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, freetype, cairo, icu
|
|
|
|
, graphite2 ? null, libintlOrEmpty }:
|
2012-09-27 21:23:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-11-17 13:16:28 +00:00
|
|
|
name = "harfbuzz-0.9.24";
|
2012-09-27 21:23:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.freedesktop.org/software/harfbuzz/release/${name}.tar.bz2";
|
2013-11-17 13:16:28 +00:00
|
|
|
sha256 = "08i46xx92hvz2br2d9hdxjgi0g5jglwf5bdfsandxb0qlgc5vwpd";
|
2012-09-27 21:23:36 +00:00
|
|
|
};
|
|
|
|
|
2013-11-17 13:16:28 +00:00
|
|
|
buildInputs = [ pkgconfig glib freetype cairo icu ] # recommended by upstream
|
2013-10-14 06:36:39 +00:00
|
|
|
++ libintlOrEmpty;
|
|
|
|
propagatedBuildInputs = []
|
2013-11-17 13:16:28 +00:00
|
|
|
++ stdenv.lib.optional (graphite2 != null) graphite2
|
2013-10-14 06:36:39 +00:00
|
|
|
;
|
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 ];
|
2013-11-05 09:46:59 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2012-09-27 21:23:36 +00:00
|
|
|
};
|
|
|
|
}
|