anchor.diff:        owner = "tesseract-ocr";
         repo = "tessdata";
         rev = "3cf1e2df1fe1d1da29295c9ef0983796c7958b7d";
  -      sha256 = "53eee3ad9e64db9bc88830f5cb3905b273bf84d78579497c55c5dd441a15fdda";
  +      sha256 = "6d646243ae7a2fc976182c5aa03dd9e395ef1507cc2e461fad6b0d6497818b06";
       };
   
       phases = [ "unpackPhase" "installPhase" ];
  
positive.code:       sha256 = "45cc314f093d462f14e623c3e8a2bfea6db612cb11d231bfec1bf36a350dece6";
      })
    ];
  
    postPatch =
      /* Fix leptonica header search path */ ''
        sed -i configure.ac \
          -e 's,/opt/local/include/leptonica,${leptonica}/include,'
      '';
  
    configureFlags = [
      "--disable-maintainer-mode"
  
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";
  