From 121751e10fde1c3b079d7c9fa3551b04df93863d Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 9 Apr 2017 23:14:01 +0200 Subject: [PATCH] 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 --- pkgs/top-level/python-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8fe1c60af473..b4165f0d6b86 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 = ''