aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libspectre
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-07-17 19:43:11 +0000
committerLudovic Courtès <ludo@gnu.org>2008-07-17 19:43:11 +0000
commitde9bbc1aa5f1ec75b18ad58332339add4f995946 (patch)
treec34e704b84dd7063f9914758ddc467cdb7deb806 /pkgs/development/libraries/libspectre
parent483cd039af062966981f6e8e292fa371810d78bf (diff)
Libspectre 0.2.0, a PostScript rendering library.
svn path=/nixpkgs/trunk/; revision=12375
Diffstat (limited to 'pkgs/development/libraries/libspectre')
-rw-r--r--pkgs/development/libraries/libspectre/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libspectre/default.nix b/pkgs/development/libraries/libspectre/default.nix
new file mode 100644
index 000000000000..6b69540d2b96
--- /dev/null
+++ b/pkgs/development/libraries/libspectre/default.nix
@@ -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+";
+ };
+}