pstoedit,plotutils: fix for darwin and mark not broken (#22196)

pstoedit,plotutils: fix for darwin
This commit is contained in:
Jake Waksbaum 2017-02-07 03:01:33 -05:00 committed by Daiderd Jordan
parent cd10e3c4ff
commit 651d5019bc
2 changed files with 8 additions and 5 deletions

View File

@ -52,6 +52,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.gnu;
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig
{ stdenv, fetchurl, pkgconfig, darwin, lib
, zlib, ghostscript, imagemagick, plotutils, gd
, libjpeg, libwebp
, libjpeg, libwebp, libiconv
}:
stdenv.mkDerivation rec {
@ -13,13 +13,16 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ];
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.linux;
platforms = platforms.unix;
};
}