22 lines
611 B
Nix
22 lines
611 B
Nix
{ stdenv, fetchurl, pkgconfig, freetype, libXft, pango, fontconfig, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.2.4";
|
|
name = "graphite2-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/silgraphite/graphite2/${name}.tgz";
|
|
sha256 = "00xhv1mp640fr3wmdzwn4yz0g56jd4r9fb7b02mc1g19h0bdbhsb";
|
|
};
|
|
|
|
buildInputs = [pkgconfig freetype libXft pango fontconfig cmake];
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
|
|
|
|
meta = {
|
|
description = "An advanced font engine";
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|