2013-01-29 12:23:42 +00:00
|
|
|
{ fetchurl, stdenv, pkgconfig, ghostscript, cairo }:
|
2008-07-17 20:43:11 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-29 12:23:42 +00:00
|
|
|
name = "libspectre-0.2.7";
|
2008-07-17 20:43:11 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://libspectre.freedesktop.org/releases/${name}.tar.gz";
|
2013-01-29 12:23:42 +00:00
|
|
|
sha256 = "1v63lqc6bhhxwkpa43qmz8phqs8ci4dhzizyy16d3vkb20m846z8";
|
2008-07-17 20:43:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
# Need `libgs.so'.
|
2013-01-29 12:23:42 +00:00
|
|
|
pkgconfig ghostscript cairo /*for tests*/
|
2008-07-17 20:43:11 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://libspectre.freedesktop.org/;
|
|
|
|
description = "libspectre, a 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 = "GPLv2+";
|
|
|
|
};
|
|
|
|
}
|