Libspectre 0.2.0, a PostScript rendering library.
svn path=/nixpkgs/trunk/; revision=12375
This commit is contained in:
parent
483cd039af
commit
de9bbc1aa5
30
pkgs/development/libraries/libspectre/default.nix
Normal file
30
pkgs/development/libraries/libspectre/default.nix
Normal 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+";
|
||||||
|
};
|
||||||
|
}
|
@ -2969,6 +2969,11 @@ let pkgs = rec {
|
|||||||
inherit fetchurl stdenv mkDerivationByConfiguration pkgconfig lib;
|
inherit fetchurl stdenv mkDerivationByConfiguration pkgconfig lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libspectre = import ../development/libraries/libspectre {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
ghostscript = ghostscriptX;
|
||||||
|
};
|
||||||
|
|
||||||
libgsf = import ../development/libraries/libgsf {
|
libgsf = import ../development/libraries/libgsf {
|
||||||
inherit fetchurl stdenv perl perlXMLParser pkgconfig libxml2 gettext bzip2 python;
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig libxml2 gettext bzip2 python;
|
||||||
inherit (gnome) glib gnomevfs libbonobo;
|
inherit (gnome) glib gnomevfs libbonobo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user