nixpkgs-suyu/pkgs/tools/graphics/pstoedit/default.nix
Jake Waksbaum 651d5019bc pstoedit,plotutils: fix for darwin and mark not broken (#22196)
pstoedit,plotutils: fix for darwin
2017-02-07 09:01:33 +01:00

28 lines
872 B
Nix

{ stdenv, fetchurl, pkgconfig, darwin, lib
, zlib, ghostscript, imagemagick, plotutils, gd
, libjpeg, libwebp, libiconv
}:
stdenv.mkDerivation rec {
name = "pstoedit-3.70";
src = fetchurl {
url = "mirror://sourceforge/pstoedit/${name}.tar.gz";
sha256 = "130kz0ghsrggdn70kygrmsy3n533hwd948q69vyvqz44yw9n3f06";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
libiconv ApplicationServices
]);
meta = with stdenv.lib; {
description = "Translates PostScript and PDF graphics into other vector formats";
homepage = https://sourceforge.net/projects/pstoedit/;
license = licenses.gpl2;
maintainers = [ maintainers.marcweber ];
platforms = platforms.unix;
};
}