nixpkgs/pkgs/development/libraries/silgraphite/graphite2.nix

28 lines
752 B
Nix
Raw Normal View History

2018-08-08 19:02:57 +00:00
{ stdenv, fetchurl, pkgconfig, freetype, cmake, python }:
stdenv.mkDerivation rec {
version = "1.3.13";
pname = "graphite2";
src = fetchurl {
url = "https://github.com/silnrsi/graphite/releases/download/"
+ "${version}/graphite2-${version}.tgz";
sha256 = "01jzhwnj1c3d68dmw15jdxly0hwkmd8ja4kw755rbkykn1ly2qyx";
};
2018-05-11 17:05:39 +00:00
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ freetype ];
patches = stdenv.lib.optionals stdenv.isDarwin [ ./macosx.patch ];
2018-08-08 19:02:57 +00:00
checkInputs = [ python ];
doCheck = false; # fails, probably missing something
2018-10-27 13:27:09 +00:00
meta = with stdenv.lib; {
description = "An advanced font engine";
2018-10-27 13:27:09 +00:00
maintainers = [ maintainers.raskin ];
platforms = platforms.unix;
license = licenses.lgpl21;
};
}