Libspectre 0.2.0, a PostScript rendering library.

svn path=/nixpkgs/trunk/; revision=12375
This commit is contained in:
Ludovic Courtès 2008-07-17 19:43:11 +00:00
parent 483cd039af
commit de9bbc1aa5
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ fetchurl, stdenv, ghostscript }:
stdenv.mkDerivation rec {
name = "libspectre-0.2.0";
src = fetchurl {
url = "http://libspectre.freedesktop.org/releases/${name}.tar.gz";
sha256 = "0j75c84gqmfr6hbhiydri4msrxns8293lfxi7hkcnfa15v8qa0i0";
};
buildInputs = [
# Need `libgs.so'.
ghostscript
];
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+";
};
}

View File

@ -2969,6 +2969,11 @@ let pkgs = rec {
inherit fetchurl stdenv mkDerivationByConfiguration pkgconfig lib;
};
libspectre = import ../development/libraries/libspectre {
inherit fetchurl stdenv;
ghostscript = ghostscriptX;
};
libgsf = import ../development/libraries/libgsf {
inherit fetchurl stdenv perl perlXMLParser pkgconfig libxml2 gettext bzip2 python;
inherit (gnome) glib gnomevfs libbonobo;