2013-11-24 11:43:22 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, freetype, cmake }:
|
2013-10-14 07:36:39 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-14 14:18:57 +00:00
|
|
|
version = "1.3.6";
|
2013-10-14 07:36:39 +01:00
|
|
|
name = "graphite2-${version}";
|
2013-11-24 11:43:22 +00:00
|
|
|
|
2013-10-14 07:36:39 +01:00
|
|
|
src = fetchurl {
|
2016-03-14 14:18:57 +00:00
|
|
|
url = "https://github.com/silnrsi/graphite/releases/download/"
|
|
|
|
+ "${version}/graphite-${version}.tgz";
|
|
|
|
sha256 = "0xdg6bc02bl8yz39l5i2skczfg17q4lif0qqan0dhvk0mibpcpj7";
|
2013-10-14 07:36:39 +01:00
|
|
|
};
|
|
|
|
|
2013-11-24 11:43:22 +00:00
|
|
|
buildInputs = [ pkgconfig freetype cmake ];
|
2013-10-14 07:36:39 +01:00
|
|
|
|
2014-06-01 06:51:16 +01:00
|
|
|
patches = stdenv.lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
|
|
|
|
2013-10-14 07:36:39 +01:00
|
|
|
meta = {
|
|
|
|
description = "An advanced font engine";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
2014-03-03 04:11:51 +00:00
|
|
|
hydraPlatforms = stdenv.lib.platforms.unix;
|
2013-10-14 07:36:39 +01:00
|
|
|
};
|
|
|
|
}
|