anchor.diff:  , lcms2
   , libjpeg
   , libpng
  +, nspr
  +, nss
   , openjpeg
   , qt5
   , zlib
  
positive.code:     })
    ];
  
    configureFlags = [
      "--enable-xpdf-headers"
      "--disable-single-precision"
      "--disable-fixed-point"
      "--enable-cmyk"
      (enFlag "libopenjpeg" (openjpeg != null) null)
      (enFlag "libtiff" (libtiff != null) null)
      (enFlag "zlib" (zlib != null) null)
      (enFlag "libcurl" (curl != null) null)
      (enFlag "libjpeg" (libjpeg != null) null)
      (enFlag "libpng" (libpng != null) null)
      (wtFlag "font-configuration" (fontconfig != null) "fontconfig")
      #"--enable-splash"
      (enFlag "cairo-output" (cairo != null) null)
      (enFlag "poppler-glib" (
        cairo != null &&
        glib != null &&
        gobject-introspection != null) null)
      "--disable-popper-qt4"
      (enFlag "poppler-qt5" (qt5 != null) null)
      (enFlag "poppler-cpp" true null)
      #"gtk-test"
      (enFlag "utils" utils null)
      #"compile-warnings"
      #"cms"
      #"testdatadir"
    ];
  
    meta = with stdenv.lib; {
  
negative.code: 
  stdenv.mkDerivation rec {
    name = "poppler-${suffix}-${version}";
    version = "0.46.0";
  
    src = fetchurl {
      url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz";
      sha256 = "967d35d13d61dee2fee656b80efef9e388a9e752bc79b7123f15b49c7769e487";
    };
  
    nativeBuildInputs = [
      cmake
    ];
  
    buildInputs = [
      cairo
  