anchor.diff:      description = "A GUI to produce PDFs or DjVus from scanned documents";
       homepage = http://gscan2pdf.sourceforge.net/;
       license = licenses.gpl3;
  -    maintainers = [ maintainers.pacien ];
  +    maintainers = with maintainers; [ pacien ];
     };
   }
  -
  
positive.code: { stdenv, fetchurl, perlPackages, wrapGAppsHook,
    librsvg, sane-backends, sane-frontends,
    imagemagick, libtiff, djvulibre, poppler_utils, ghostscript, unpaper,
    xvfb_run, hicolor-icon-theme, liberation_ttf, file, pdftk }:
  
  with stdenv.lib;
  
  perlPackages.buildPerlPackage rec {
    pname = "gscan2pdf";
    version = "2.3.0";
  
    src = fetchurl {
      url = "mirror://sourceforge/gscan2pdf/${version}/${pname}-${version}.tar.xz";
      sha256 = "0mcsmly0j9pmyzh6py8r6sfa30hc6gv300hqq3dxj4hv653vhkk9";
    };
  
    nativeBuildInputs = [ wrapGAppsHook ];
  
negative.code:   outputs = [ "out" "man" ];
  
    checkInputs = [
      imagemagick
      libtiff
      djvulibre
      poppler_utils
      ghostscript
      unpaper
      pdftk
  
      xvfb_run
      file
      tesseract # tests are expecting tesseract 3.x precisely
    ];
  
    checkPhase = ''
  