2013-11-24 12:43:22 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, freetype, cmake }:
|
2013-10-14 08:36:39 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 15:46:49 +01:00
|
|
|
version = "1.2.4";
|
2013-10-14 08:36:39 +02:00
|
|
|
name = "graphite2-${version}";
|
2013-11-24 12:43:22 +01:00
|
|
|
|
2013-10-14 08:36:39 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/silgraphite/graphite2/${name}.tgz";
|
2013-12-18 15:46:49 +01:00
|
|
|
sha256 = "00xhv1mp640fr3wmdzwn4yz0g56jd4r9fb7b02mc1g19h0bdbhsb";
|
2013-10-14 08:36:39 +02:00
|
|
|
};
|
|
|
|
|
2013-11-24 12:43:22 +01:00
|
|
|
buildInputs = [ pkgconfig freetype cmake ];
|
2013-10-14 08:36:39 +02:00
|
|
|
|
2014-06-01 07:51:16 +02:00
|
|
|
patches = stdenv.lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
|
|
|
|
2013-10-14 08:36:39 +02:00
|
|
|
meta = {
|
|
|
|
description = "An advanced font engine";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
2014-03-03 05:11:51 +01:00
|
|
|
hydraPlatforms = stdenv.lib.platforms.unix;
|
2013-10-14 08:36:39 +02:00
|
|
|
};
|
|
|
|
}
|