2012-07-13 15:18:52 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, freetype, libXft, pango, fontconfig }:
|
2012-07-18 16:16:02 +01:00
|
|
|
|
2012-07-13 15:18:52 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2.3.1";
|
|
|
|
name = "silgraphite-2.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/silgraphite/silgraphite/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "9b07c6e91108b1fa87411af4a57e25522784cfea0deb79b34ced608444f2ed65";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [pkgconfig freetype libXft pango fontconfig];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
|
|
|
|
|
|
|
|
meta = {
|
2012-07-18 16:16:02 +01:00
|
|
|
description = "An advanced font engine";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-07-13 15:18:52 +01:00
|
|
|
};
|
|
|
|
}
|