diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-07-17 19:43:11 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-07-17 19:43:11 +0000 |
commit | de9bbc1aa5f1ec75b18ad58332339add4f995946 (patch) | |
tree | c34e704b84dd7063f9914758ddc467cdb7deb806 /pkgs/development/libraries/libspectre | |
parent | 483cd039af062966981f6e8e292fa371810d78bf (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.nix | 30 |
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+"; + }; +} |