1 { buildPythonPackage, fetchPypi, lib, pillow, tesseract, substituteAll }:
3 buildPythonPackage rec {
9 sha256 = "4ecfc898d00a70fcc38d2bce729de1597c67e7bc5d2fa26094714c9f5b573645";
14 src = ./tesseract-binary.patch;
19 buildInputs = [ tesseract ];
20 propagatedBuildInputs = [ pillow ];
22 # the package doesn't have any tests.
26 homepage = "https://pypi.org/project/pytesseract/";
27 license = licenses.asl20;
28 description = "A Python wrapper for Google Tesseract";
29 maintainers = with maintainers; [ ma27 ];