anchor.diff:        sha256 = "45cc314f093d462f14e623c3e8a2bfea6db612cb11d231bfec1bf36a350dece6";
       })
     ];
  -
  -  postPatch =
  -    /* Fix leptonica header search path */ ''
  -      sed -i configure.ac \
  -        -e 's,/opt/local/include/leptonica,${leptonica}/include,'
  -    '';
   
     configureFlags = [
       "--disable-maintainer-mode"
  
positive.code: 
    src = fetchzip {
      url = "https://github.com/tesseract-ocr/tesseract/archive/${version}.tar.gz";
      sha256 = "3804a436576575ac8cb30ba4232edd266f00acef9d90b665430c47e6dec60327";
    };
  
    nativeBuildInputs = [
  
negative.code:     "--enable-largefile"
    ];
  
    /* Fix leptonica header search path */
    LIBLEPT_HEADERSDIR = "${leptonica}/include";
  
    postInstall = /* Symlink all installed tessdata files into tesseract */ ''
      for i in ${tessdata}/* ; do
        ln -fsv $i $out/share/tessdata
      done
    '';
  
    meta = with stdenv.lib; {
      description = "OCR engine";
  