From 00c4064a792ddee3201cf1f89ecacd1949bbd707 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 16 Sep 2022 19:31:56 +0200 Subject: [PATCH] python3Packages.pytesseract: add setuptools to nativeBuildInputs --- .../python-modules/pytesseract/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytesseract/default.nix b/pkgs/development/python-modules/pytesseract/default.nix index a2fa23834a6e..e38af1f89309 100644 --- a/pkgs/development/python-modules/pytesseract/default.nix +++ b/pkgs/development/python-modules/pytesseract/default.nix @@ -1,5 +1,12 @@ -{ buildPythonPackage, fetchFromGitHub, lib, packaging, pillow, tesseract, substituteAll +{ buildPythonPackage +, fetchFromGitHub +, lib +, packaging +, pillow +, tesseract +, substituteAll , pytestCheckHook +, setuptools }: buildPythonPackage rec { @@ -21,6 +28,10 @@ buildPythonPackage rec { }) ]; + nativeBuildInputs = [ + setuptools + ]; + buildInputs = [ tesseract ];