summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/graphics/inkscape/default.nix3
-rw-r--r--pkgs/tools/graphics/pstoedit/default.nix20
-rw-r--r--pkgs/top-level/all-packages.nix4
3 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index c0f9b1680044..117b20d4770a 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -52,6 +52,9 @@ stdenv.mkDerivation rec {
longDescription = ''
Inkscape is a feature-rich vector graphics editor that edits
files in the W3C SVG (Scalable Vector Graphics) file format.
+
+ If you want to import .eps files install ps2edit
'';
+
};
}
diff --git a/pkgs/tools/graphics/pstoedit/default.nix b/pkgs/tools/graphics/pstoedit/default.nix
new file mode 100644
index 000000000000..6f4a41d24251
--- /dev/null
+++ b/pkgs/tools/graphics/pstoedit/default.nix
@@ -0,0 +1,20 @@
+args: with args;
+stdenv.mkDerivation {
+ name = "pstoedit-3.50";
+
+ src = fetchurl {
+ url = http://prdownloads.sourceforge.net/pstoedit/pstoedit-3.50.tar.gz;
+ sha256 = "04ap21fxj2zn6vj9mv7zknj4svcbkb1gxwfzxkw5i0sksx969c92";
+ };
+
+ buildInputs = [pkgconfig ghostscript gd zlib plotutils];
+
+ meta = {
+ description = "translates PostScript and PDF graphics into other vector formats";
+ homepage = http://www.helga-glunz.homepage.t-online.de/pstoedit;
+ license = "GPLv2";
+ maintainers = [args.lib.maintainers.marcweber];
+ platforms = args.lib.platforms.linux;
+ };
+
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 2b06dce33ac4..64bcca2107f1 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -1321,6 +1321,10 @@ let
inherit stdenv fetchurl ncurses;
};
+ pstoedit = import ../tools/graphics/pstoedit {
+ inherit fetchurl stdenv lib pkgconfig ghostscript gd zlib plotutils;
+ };
+
pv = import ../tools/misc/pv {
inherit fetchurl stdenv;
};