diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-09-06 16:34:31 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-10-02 13:05:38 +0200 |
commit | 3f3fe38c7adc9d92afcc8d64183e7dd6aafe4f7e (patch) | |
tree | cd7f0035e82f3b06a81bb824acb9a052a8a103e6 /pkgs/tools/graphics/netpbm | |
parent | 8a9fa4782f5f3774d31f7f49e7ce8510423e1fa3 (diff) |
netpbm: Do not use vendored dependencies
Especially since Jasper is unmaintained and insecure
Diffstat (limited to 'pkgs/tools/graphics/netpbm')
-rw-r--r-- | pkgs/tools/graphics/netpbm/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/netpbm/default.nix b/pkgs/tools/graphics/netpbm/default.nix index f6f2b22fdeb4a..75decbf06fde9 100644 --- a/pkgs/tools/graphics/netpbm/default.nix +++ b/pkgs/tools/graphics/netpbm/default.nix @@ -4,6 +4,7 @@ , pkg-config , libjpeg , libpng +, jbigkit , flex , zlib , perl @@ -40,6 +41,7 @@ stdenv.mkDerivation { libjpeg libxml2 libtiff + jbigkit ] ++ lib.optional enableX11 libX11; enableParallelBuilding = true; @@ -63,6 +65,9 @@ stdenv.mkDerivation { echo "TIFFLIB_NEEDS_JPEG = N" >> config.mk echo "TIFFLIB_NEEDS_Z = N" >> config.mk echo "JPEGLIB = libjpeg.so" >> config.mk + echo "JBIGLIB = libjbig.a" >> config.mk + # Insecure + echo "JASPERLIB = NONE" >> config.mk # Fix path to rgb.txt echo "RGB_DB_PATH = $out/share/netpbm/misc/rgb.txt" >> config.mk |