1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/silgraphite/default.nix
2021-01-21 19:11:02 -08:00

23 lines
641 B
Nix

{ stdenv, fetchurl, pkg-config, freetype, libXft, pango, fontconfig }:
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";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ freetype libXft pango fontconfig];
NIX_CFLAGS_COMPILE = "-I${freetype.dev}/include/freetype2";
meta = {
description = "An advanced font engine";
maintainers = [ lib.maintainers.raskin ];
platforms = lib.platforms.linux;
};
}