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

27 lines
734 B
Nix
Raw Normal View History

2018-08-08 21:02:57 +02:00
{ stdenv, fetchurl, pkgconfig, freetype, cmake, python }:
stdenv.mkDerivation rec {
version = "1.3.6";
name = "graphite2-${version}";
src = fetchurl {
url = "https://github.com/silnrsi/graphite/releases/download/"
+ "${version}/graphite-${version}.tgz";
sha256 = "0xdg6bc02bl8yz39l5i2skczfg17q4lif0qqan0dhvk0mibpcpj7";
};
2018-05-11 19:05:39 +02:00
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ freetype ];
patches = stdenv.lib.optionals stdenv.isDarwin [ ./macosx.patch ];
2018-08-08 21:02:57 +02:00
checkInputs = [ python ];
doCheck = false; # fails, probably missing something
meta = {
description = "An advanced font engine";
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.unix;
};
}