2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv, fetchurl, pkg-config, freetype, libXft, pango, fontconfig }:
|
2020-04-24 23:36:52 +00: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";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ freetype libXft pango fontconfig];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${freetype.dev}/include/freetype2";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An advanced font engine";
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|