nixpkgs/pkgs/development/libraries/harfbuzz/default.nix
Vladimír Čunát 3bcc63913b harfbuzz: major update 0.9.12 -> .24
Also use deps recommended by upstream (by defaul).
2013-11-17 14:16:28 +01:00

24 lines
788 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, freetype, cairo, icu
, graphite2 ? null, libintlOrEmpty }:
stdenv.mkDerivation rec {
name = "harfbuzz-0.9.24";
src = fetchurl {
url = "http://www.freedesktop.org/software/harfbuzz/release/${name}.tar.bz2";
sha256 = "08i46xx92hvz2br2d9hdxjgi0g5jglwf5bdfsandxb0qlgc5vwpd";
};
buildInputs = [ pkgconfig glib freetype cairo icu ] # recommended by upstream
++ libintlOrEmpty;
propagatedBuildInputs = []
++ stdenv.lib.optional (graphite2 != null) graphite2
;
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 ++ stdenv.lib.platforms.darwin;
};
}