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

28 lines
752 B
Nix
Raw Normal View History

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