2016-01-24 15:50:54 +00:00
|
|
|
{ stdenv, fetchurl, cmake, patchelf, imagemagick }:
|
2009-02-09 20:37:11 +00:00
|
|
|
|
2016-01-24 15:50:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cuneiform-${version}";
|
2013-01-16 12:43:35 +00:00
|
|
|
version = "1.1.0";
|
2016-01-24 15:50:54 +00:00
|
|
|
|
2009-02-09 20:37:11 +00:00
|
|
|
src = fetchurl {
|
2013-01-17 07:21:04 +00:00
|
|
|
url = "https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2";
|
2013-01-16 12:43:35 +00:00
|
|
|
sha256 = "1bdvppyfx2184zmzcylskd87cxv56d8f32jf7g1qc8779l2hszjp";
|
2009-02-09 20:37:11 +00:00
|
|
|
};
|
|
|
|
|
2016-01-24 15:50:54 +00:00
|
|
|
buildInputs = [
|
|
|
|
cmake imagemagick
|
|
|
|
];
|
2009-02-09 20:37:11 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Multi-language OCR system";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-02-09 20:37:11 +00:00
|
|
|
};
|
|
|
|
}
|