mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
pyocr: 0.4.4 -> 0.4.6
Upstream changes for version 0.4.5: * Clean up exceptions raised when OCR fails: * Now, all tools raise only exceptions inheriting from pyocr.PyocrException * There is now one and only one TesseractError (shared between pyocr.libtesseract and pyocr.tesseract) Upstream changes for version 0.4.6: * hOCR outputs: Generate valid XHTML files The full upstream changelog can be found at: https://github.com/jflesch/pyocr/blob/master/ChangeLog Note that because of the version bump of Tesseract neither version 0.4.4 nor version 0.4.6 succeed to build, so we need to fix this up soon. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
c381fa9b63
commit
121751e10f
1 changed files with 2 additions and 2 deletions
|
@ -20873,14 +20873,14 @@ in {
|
|||
|
||||
pyocr = buildPythonPackage rec {
|
||||
name = "pyocr-${version}";
|
||||
version = "0.4.4";
|
||||
version = "0.4.6";
|
||||
|
||||
# Don't fetch from PYPI because it doesn't contain tests.
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "jflesch";
|
||||
repo = "pyocr";
|
||||
rev = version;
|
||||
sha256 = "09s7dxin8ams0f3xab60f45l3nn236a8win9yfyq9aqy9mm946ak";
|
||||
sha256 = "0amyhkkm400qzbw65ivyzrzxl2r7vxqgsgqm7ml95m7gwkwhnzz0";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue