@@ -1,5 +1,5 @@
11{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
2−, stdenv, fetchurl, x11 ? null, motif ? null, freetype ? null, t1lib ? null
2+, stdenv, fetchurl, zlib, libpng, x11 ? null, motif ? null, freetype ? null, t1lib ? null
33, base14Fonts ? null
44}:
55
@@ -10,14 +10,14 @@ assert useT1Lib -> t1lib != null;
1010assert !useT1Lib; # t1lib has multiple unpatched security vulnerabilities
1111
1212stdenv.mkDerivation {
13− name = "xpdf-3.03";
13+ name = "xpdf-3.04";
1414
1515 src = fetchurl {
16− url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.03.tar.gz;
17− sha256 = "1jnfzdqc54wa73lw28kjv0m7120mksb0zkcn81jdlvijyvc67kq2";
16+ url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.04.tar.gz;
17+ sha256 = "1rbp54mr3z2x3a3a1qmz8byzygzi223vckfam9ib5g1sfds0qf8i";
1818 };
1919
20− buildInputs =
20+ buildInputs = [ zlib libpng ] ++
2121 stdenv.lib.optionals enableGUI [x11 motif] ++
2222 stdenv.lib.optional useT1Lib t1lib ++
2323 stdenv.lib.optional enablePDFtoPPM freetype;