8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
27 lines
752 B
Nix
27 lines
752 B
Nix
{ stdenv, fetchurl, pkgconfig, freetype, cmake, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3.14";
|
|
pname = "graphite2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/silnrsi/graphite/releases/download/"
|
|
+ "${version}/graphite2-${version}.tgz";
|
|
sha256 = "1790ajyhk0ax8xxamnrk176gc9gvhadzy78qia4rd8jzm89ir7gr";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
buildInputs = [ freetype ];
|
|
|
|
patches = stdenv.lib.optionals stdenv.isDarwin [ ./macosx.patch ];
|
|
|
|
checkInputs = [ python ];
|
|
doCheck = false; # fails, probably missing something
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An advanced font engine";
|
|
maintainers = [ maintainers.raskin ];
|
|
platforms = platforms.unix;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|