summary refs log tree commit diff
path: root/pkgs/tools/graphics/pstoedit
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-06-01 22:45:19 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2016-06-02 00:22:07 +0200
commitc82b6c61161d721691c1618a843a31fea94d23fb (patch)
tree3500c2cabeea8004ad3753999f74d32cb7f03c2a /pkgs/tools/graphics/pstoedit
parentf2b5694abcb5dc07c0dc93b822ee185d63d53f4b (diff)
downloadnixpkgs-c82b6c61161d721691c1618a843a31fea94d23fb.tar
nixpkgs-c82b6c61161d721691c1618a843a31fea94d23fb.tar.gz
nixpkgs-c82b6c61161d721691c1618a843a31fea94d23fb.tar.bz2
nixpkgs-c82b6c61161d721691c1618a843a31fea94d23fb.tar.lz
nixpkgs-c82b6c61161d721691c1618a843a31fea94d23fb.tar.xz
nixpkgs-c82b6c61161d721691c1618a843a31fea94d23fb.tar.zst
nixpkgs-c82b6c61161d721691c1618a843a31fea94d23fb.zip
pstoedit: 3.62 -> 3.70
Note that kde4.calligra, the only reverse dependency, fails to build,
but I have confirmed that it fails also with the previous pstoedit
version so the failure appears unrelated (nor does the error really
indicate that pstoedit is at fault ...).

Also
- Change meta.homepage; the original domain didn't work properly for me
- Split dev output; may want to split out bin/lib as well, for some
  decent saving
- Build with imagemagick for a slight size increase
Diffstat (limited to 'pkgs/tools/graphics/pstoedit')
-rw-r--r--pkgs/tools/graphics/pstoedit/default.nix23
1 files changed, 14 insertions, 9 deletions
diff --git a/pkgs/tools/graphics/pstoedit/default.nix b/pkgs/tools/graphics/pstoedit/default.nix
index c8ecebc0868..094d9deadbf 100644
--- a/pkgs/tools/graphics/pstoedit/default.nix
+++ b/pkgs/tools/graphics/pstoedit/default.nix
@@ -1,20 +1,25 @@
-{ stdenv, fetchurl, pkgconfig, ghostscript, gd, libjpeg, zlib, plotutils, libwebp }:
+{ stdenv, fetchurl, pkgconfig
+, zlib, ghostscript, imagemagick, plotutils, gd
+, libjpeg, libwebp
+}:
 
 stdenv.mkDerivation rec {
-  name = "pstoedit-3.62";
+  name = "pstoedit-3.70";
 
   src = fetchurl {
     url = "mirror://sourceforge/pstoedit/${name}.tar.gz";
-    sha256 = "0j410dm9nqwa7n03yiyz0jwvln0jlqc3n9iv4nls33yl6x3c8x40";
+    sha256 = "130kz0ghsrggdn70kygrmsy3n533hwd948q69vyvqz44yw9n3f06";
   };
 
-  buildInputs = [ pkgconfig ghostscript gd libjpeg zlib plotutils libwebp ];
+  outputs = [ "dev" "out" ];
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ];
 
-  meta = { 
+  meta = with stdenv.lib; {
     description = "Translates PostScript and PDF graphics into other vector formats";
-    homepage = http://www.helga-glunz.homepage.t-online.de/pstoedit;
-    license = stdenv.lib.licenses.gpl2;
-    maintainers = [ stdenv.lib.maintainers.marcweber ];
-    platforms = stdenv.lib.platforms.linux;
+    homepage = https://sourceforge.net/projects/pstoedit/;
+    license = licenses.gpl2;
+    maintainers = [ maintainers.marcweber ];
+    platforms = platforms.linux;
   };
 }