mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
22 lines
575 B
Nix
22 lines
575 B
Nix
{ stdenv, fetchurl, pkgconfig, freetype, 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 cmake ];
|
|
|
|
patches = stdenv.lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
|
|
|
meta = {
|
|
description = "An advanced font engine";
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
hydraPlatforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|