diff --git a/pkgs/tools/graphics/pstoedit/default.nix b/pkgs/tools/graphics/pstoedit/default.nix index d4e977128cfe..624f5321c2a6 100644 --- a/pkgs/tools/graphics/pstoedit/default.nix +++ b/pkgs/tools/graphics/pstoedit/default.nix @@ -1,17 +1,17 @@ -{ stdenv, fetchurl, pkgconfig, ghostscript, gd, zlib, plotutils }: +{ stdenv, fetchurl, pkgconfig, ghostscript, gd, libjpeg, zlib, plotutils }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "pstoedit-3.62"; src = fetchurl { - url = mirror://sourceforge/pstoedit/pstoedit-3.62.tar.gz; + url = "mirror://sourceforge/pstoedit/${name}.tar.gz"; sha256 = "0j410dm9nqwa7n03yiyz0jwvln0jlqc3n9iv4nls33yl6x3c8x40"; }; - buildInputs = [ pkgconfig ghostscript gd zlib plotutils ]; + buildInputs = [ pkgconfig ghostscript gd libjpeg zlib plotutils ]; meta = { - description = "translates PostScript and PDF graphics into other vector formats"; + description = "Translates PostScript and PDF graphics into other vector formats"; homepage = http://www.helga-glunz.homepage.t-online.de/pstoedit; license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.marcweber ];