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

27 lines
709 B
Nix
Raw Normal View History

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