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.
33 lines
857 B
Nix
33 lines
857 B
Nix
{ fetchurl, stdenv, pkg-config, ghostscript, cairo }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libspectre-0.2.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://libspectre.freedesktop.org/releases/${name}.tar.gz";
|
|
sha256 = "1v63lqc6bhhxwkpa43qmz8phqs8ci4dhzizyy16d3vkb20m846z8";
|
|
};
|
|
|
|
patches = [ ./libspectre-0.2.7-gs918.patch ];
|
|
|
|
buildInputs = [
|
|
# Need `libgs.so'.
|
|
pkg-config ghostscript cairo /*for tests*/
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "http://libspectre.freedesktop.org/";
|
|
description = "PostScript rendering library";
|
|
|
|
longDescription = ''
|
|
libspectre is a small library for rendering Postscript
|
|
documents. It provides a convenient easy to use API for
|
|
handling and rendering Postscript documents.
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|