9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
28 lines
754 B
Nix
28 lines
754 B
Nix
{ stdenv, fetchurl, pkg-config, 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 = [ pkg-config 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;
|
|
};
|
|
}
|