pythonPackages.hocr-tools: init at 1.3.0

This commit is contained in:
Robert Djubek 2019-03-14 03:12:34 +00:00
parent 6fcb265e63
commit 33aced023e
No known key found for this signature in database
GPG key ID: 156C88A5B0A04B2A
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ buildPythonPackage
, fetchFromGitHub
, lxml
, pillow
, reportlab
, stdenv
}:
buildPythonPackage rec {
pname = "hocr-tools";
version = "1.3.0";
src = fetchFromGitHub {
owner = "tmbdev";
repo = "${pname}";
rev = "v${version}";
sha256 = "14f9hkp7pr677085w8iidwd0la9cjzy3pyj3rdg9b03nz9pc0w6p";
};
# hocr-tools uses a test framework that requires internet access
doCheck = false;
propagatedBuildInputs = [ pillow lxml reportlab ];
meta = with stdenv.lib; {
description = "
Tools for manipulating and evaluating the hOCR format for representing multi-lingual OCR results by embedding them into HTML";
homepage = https://github.com/tmbdev/hocr-tools;
license = licenses.asl20;
maintainers = [ maintainers.kiwi ];
};
}

View file

@ -1692,6 +1692,8 @@ in
hid-listen = callPackage ../tools/misc/hid-listen { };
hocr-tools = with python3Packages; toPythonApplication hocr-tools;
home-manager = callPackage ../tools/package-management/home-manager {};
hostsblock = callPackage ../tools/misc/hostsblock { };

View file

@ -639,6 +639,8 @@ in {
hdmedians = callPackage ../development/python-modules/hdmedians { };
hocr-tools = callPackage ../development/python-modules/hocr-tools { };
holoviews = callPackage ../development/python-modules/holoviews { };
hoomd-blue = toPythonModule (callPackage ../development/python-modules/hoomd-blue {