python312Packages.easyocr: use opencv-python-headless

This commit is contained in:
Robert Schütz
2024-10-27 10:00:31 -07:00
parent d792caed67
commit a15122931b
@@ -5,7 +5,7 @@
hdf5,
numpy,
onnx,
opencv4,
opencv-python-headless,
pillow,
pyaml,
pyclipper,
@@ -34,14 +34,13 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace requirements.txt \
--replace "opencv-python-headless" "" \
--replace "ninja" ""
'';
propagatedBuildInputs = [
hdf5
numpy
opencv4
opencv-python-headless
pillow
pyaml
pyclipper