mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
c82b6c6116
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
26 lines
739 B
Nix
26 lines
739 B
Nix
{ stdenv, fetchurl, pkgconfig
|
|
, zlib, ghostscript, imagemagick, plotutils, gd
|
|
, libjpeg, libwebp
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pstoedit-3.70";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/pstoedit/${name}.tar.gz";
|
|
sha256 = "130kz0ghsrggdn70kygrmsy3n533hwd948q69vyvqz44yw9n3f06";
|
|
};
|
|
|
|
outputs = [ "dev" "out" ];
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ];
|
|
|
|
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;
|
|
};
|
|
}
|