lol

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

pstoedit,plotutils: fix for darwin

authored by

Jake Waksbaum and committed by
Daiderd Jordan
651d5019 cd10e3c4

+8 -5
+1 -1
pkgs/tools/graphics/plotutils/default.nix
··· 52 52 53 53 license = stdenv.lib.licenses.gpl2Plus; 54 54 maintainers = [ stdenv.lib.maintainers.marcweber ]; 55 - platforms = stdenv.lib.platforms.gnu; 55 + platforms = stdenv.lib.platforms.unix; 56 56 }; 57 57 }
+7 -4
pkgs/tools/graphics/pstoedit/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig 1 + { stdenv, fetchurl, pkgconfig, darwin, lib 2 2 , zlib, ghostscript, imagemagick, plotutils, gd 3 - , libjpeg, libwebp 3 + , libjpeg, libwebp, libiconv 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { ··· 13 13 14 14 outputs = [ "out" "dev" ]; 15 15 nativeBuildInputs = [ pkgconfig ]; 16 - buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]; 16 + buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ] 17 + ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 18 + libiconv ApplicationServices 19 + ]); 17 20 18 21 meta = with stdenv.lib; { 19 22 description = "Translates PostScript and PDF graphics into other vector formats"; 20 23 homepage = https://sourceforge.net/projects/pstoedit/; 21 24 license = licenses.gpl2; 22 25 maintainers = [ maintainers.marcweber ]; 23 - platforms = platforms.linux; 26 + platforms = platforms.unix; 24 27 }; 25 28 }