mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
750 B
Nix
28 lines
750 B
Nix
{ stdenv, fetchurl, pkgconfig, freetype, cmake, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3.6";
|
|
pname = "graphite2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/silnrsi/graphite/releases/download/"
|
|
+ "${version}/graphite-${version}.tgz";
|
|
sha256 = "0xdg6bc02bl8yz39l5i2skczfg17q4lif0qqan0dhvk0mibpcpj7";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|