python3Packages.pytesseract: propagate packaging

This commit is contained in:
Martin Weinelt 2022-03-10 22:05:35 +01:00
parent 659f92160d
commit 8e5e5e1de2

View File

@ -1,8 +1,9 @@
{ buildPythonPackage, fetchPypi, lib, pillow, tesseract, substituteAll }:
{ buildPythonPackage, fetchPypi, lib, packaging, pillow, tesseract, substituteAll }:
buildPythonPackage rec {
pname = "pytesseract";
version = "0.3.9";
format = "pyproject";
src = fetchPypi {
inherit pname version;
@ -16,8 +17,14 @@ buildPythonPackage rec {
})
];
buildInputs = [ tesseract ];
propagatedBuildInputs = [ pillow ];
buildInputs = [
tesseract
];
propagatedBuildInputs = [
packaging
pillow
];
# the package doesn't have any tests.
doCheck = false;