Change:
<del> { lib, stdenv, fetchsvn, pkgconfig, libjpeg, libpng, flex, zlib, perl, libxml2 , makeWrapper, libtiff , enableX11 ? false, libX11 }: </del> <ins> { lib , stdenv , fetchsvn , pkgconfig , libjpeg , libpng , flex , zlib , perl , libxml2 , makeWrapper , libtiff , enableX11 ? false , libX11 }: </ins> stdenv.mkDerivation { # Determine version and revision from: # https://sourceforge.net/p/netpbm/code/HEAD/log/?path=/advanced <del> name = "netpbm-10.82.01"; </del> <ins> name = "netpbm-10.89.1"; outputs = [ "bin" "out" "dev" ]; </ins> src = fetchsvn { url = "https://svn.code.sf.net/p/netpbm/code/advanced"; <del> rev = "3264"; sha256 = "17fmyjbxp1l18rma7gb0m8wd9kx2iwhqs8dd6fpalsn2cr8mf8hf"; </del> <ins> rev = "3735"; sha256 = "hRepEUBlf83p77Amjze+Qz7XTHhCuPdV01K/UabR89Q="; </ins> }; <del> postPatch = /* CVE-2005-2471, from Arch */ '' substituteInPlace converter/other/pstopnm.c  --replace '"-dSAFER"' '"-dPARANOIDSAFER"' </del> <ins> postPatch = '' # Install libnetpbm.so symlink to correct destination substituteInPlace lib/Makefile  --replace '/sharedlink' '/lib' </ins> ''; <del> buildInputs = [ pkgconfig flex zlib perl libpng libjpeg libxml2 makeWrapper libtiff ] ++ lib.optional enableX11 libX11; </del> <ins> nativeBuildInputs = [ pkgconfig flex makeWrapper ]; buildInputs = [ zlib perl libpng libjpeg libxml2 libtiff ] ++ lib.optional enableX11 libX11; </ins> configurePhase = '' <ins> runHook preConfigure </ins> cp config.mk.in config.mk <del> echo "STATICLIB_TOO = n" >> config.mk substituteInPlace "config.mk"  --replace "TIFFLIB = NONE" "TIFFLIB = ${libtiff.out}/lib/libtiff.so"  --replace "TIFFHDR_DIR =" "TIFFHDR_DIR = ${libtiff.dev}/include"  --replace "JPEGLIB = NONE" "JPEGLIB = ${libjpeg.out}/lib/libjpeg.so"  --replace "JPEGHDR_DIR =" "JPEGHDR_DIR = ${libjpeg.dev}/include" '' + stdenv.lib.optionalString stdenv.isDarwin '' </del> <ins> # Disable building static library echo "STATICLIB_TOO = N" >> config.mk # Use libraries from Nixpkgs echo "TIFFLIB = libtiff.so" >> config.mk echo "TIFFLIB_NEEDS_JPEG = N" >> config.mk echo "TIFFLIB_NEEDS_Z = N" >> config.mk echo "JPEGLIB = libjpeg.so" >> config.mk # Fix path to rgb.txt echo "RGB_DB_PATH = $out/share/netpbm/misc/rgb.txt" >> config.mk '' + stdenv.lib.optionalString stdenv.isDarwin '' </ins> echo "LDSHLIB=-dynamiclib -install_name $out/lib/libnetpbm.$(MAJ).dylib" >> config.mk echo "NETPBMLIBTYPE = dylib" >> config.mk echo "NETPBMLIBSUFFIX = dylib" >> config.mk <del> ''; preBuild = '' export LDFLAGS="-lz" substituteInPlace "pm_config.in.h"  --subst-var-by "rgbPath1" "$out/lib/rgb.txt"  --subst-var-by "rgbPath2" "/var/empty/rgb.txt"  --subst-var-by "rgbPath3" "/var/empty/rgb.txt" touch lib/standardppmdfont.c </del> <ins> runHook postConfigure </ins> ''; <del> enableParallelBuilding = false; </del> <ins> enableParallelBuilding = true; </ins> installPhase = '' <ins> runHook preInstall </ins> make package pkgdir=$out <del> rm -rf $out/link $out/*_template $out/{pkginfo,README,VERSION} $out/man/web </del> <ins> rm -rf $out/*_template $out/{pkginfo,README,VERSION} $out/man/web </ins> mkdir -p $out/share/netpbm mv $out/misc $out/share/netpbm/

Discussion:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Describe the bug Netpbm misses TIFF converters, such as . To Reproduce Steps to reproduce the behavior: to find some commands. Expected behavior TIFF converters installed with Netpbm. Additional context libtiff is required to build the following Netpbm programs: , , and (). Indeed is input for the , but TIFF converters are missed. Metadata output: