nixpkgs/pkgs/applications/graphics/tesseract/default.nix
Lluís Batlle i Rossell 626f654602 Adding tesseract, an OCR engine I just found but never tried.
svn path=/nixpkgs/trunk/; revision=26952
2011-04-24 18:04:07 +00:00

21 lines
521 B
Nix

{ stdenv, fetchurl, libtiff }:
stdenv.mkDerivation {
name = "tesseract-3.0.0";
src = fetchurl {
url = http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz;
sha256 = "111r9hy1rcs2ch4kdi9dkzwch3xg38vv379sf3cjpkswkigx8clw";
};
buildInputs = [ libtiff ];
meta = {
description = "OCR engine";
homepage = http://code.google.com/p/tesseract-ocr/;
license = "Apache2.0";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}