pythonPackages.hocr-tools: init at 1.3.0
This commit is contained in:
parent
6fcb265e63
commit
33aced023e
31
pkgs/development/python-modules/hocr-tools/default.nix
Normal file
31
pkgs/development/python-modules/hocr-tools/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user