about summary refs log tree commit diff
path: root/pkgs/applications/graphics/tesseract
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-04-24 18:04:07 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-04-24 18:04:07 +0000
commit626f6546022656c3cb9fca0810ac54648d430c2c (patch)
tree66218ef8c31c3e24708b92aa073f62e7fb665f0c /pkgs/applications/graphics/tesseract
parent3ae0255bbd52bb10596a851d9f915aa5510c70f8 (diff)
downloadnixlib-626f6546022656c3cb9fca0810ac54648d430c2c.tar
nixlib-626f6546022656c3cb9fca0810ac54648d430c2c.tar.gz
nixlib-626f6546022656c3cb9fca0810ac54648d430c2c.tar.bz2
nixlib-626f6546022656c3cb9fca0810ac54648d430c2c.tar.lz
nixlib-626f6546022656c3cb9fca0810ac54648d430c2c.tar.xz
nixlib-626f6546022656c3cb9fca0810ac54648d430c2c.tar.zst
nixlib-626f6546022656c3cb9fca0810ac54648d430c2c.zip
Adding tesseract, an OCR engine I just found but never tried.
svn path=/nixpkgs/trunk/; revision=26952
Diffstat (limited to 'pkgs/applications/graphics/tesseract')
-rw-r--r--pkgs/applications/graphics/tesseract/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/tesseract/default.nix b/pkgs/applications/graphics/tesseract/default.nix
new file mode 100644
index 000000000000..80e0514d38fb
--- /dev/null
+++ b/pkgs/applications/graphics/tesseract/default.nix
@@ -0,0 +1,20 @@
+{ 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;
+  };
+}