2017-02-07 08:01:33 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, darwin, lib
|
2016-06-01 21:45:19 +01:00
|
|
|
, zlib, ghostscript, imagemagick, plotutils, gd
|
2017-02-07 08:01:33 +00:00
|
|
|
, libjpeg, libwebp, libiconv
|
2016-06-01 21:45:19 +01:00
|
|
|
}:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2016-05-14 06:06:24 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-06-01 21:45:19 +01:00
|
|
|
name = "pstoedit-3.70";
|
2009-10-18 05:43:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-14 06:06:24 +01:00
|
|
|
url = "mirror://sourceforge/pstoedit/${name}.tar.gz";
|
2016-06-01 21:45:19 +01:00
|
|
|
sha256 = "130kz0ghsrggdn70kygrmsy3n533hwd948q69vyvqz44yw9n3f06";
|
2009-10-18 05:43:53 +01:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-06-01 21:45:19 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-02-07 08:01:33 +00:00
|
|
|
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]
|
|
|
|
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
|
|
|
libiconv ApplicationServices
|
|
|
|
]);
|
2009-10-18 05:43:53 +01:00
|
|
|
|
2016-06-01 21:45:19 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-05-14 06:06:24 +01:00
|
|
|
description = "Translates PostScript and PDF graphics into other vector formats";
|
2016-06-01 21:45:19 +01:00
|
|
|
homepage = https://sourceforge.net/projects/pstoedit/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.marcweber ];
|
2017-02-07 08:01:33 +00:00
|
|
|
platforms = platforms.unix;
|
2009-10-18 05:43:53 +01:00
|
|
|
};
|
|
|
|
}
|