python312Packages.rapidocr-onnxruntime: use opencv-python

This commit is contained in:
Robert Schütz
2024-11-02 17:41:13 -07:00
parent e4467c1cc8
commit 9985ebb02b
@@ -10,7 +10,7 @@
setuptools,
pyclipper,
opencv4,
opencv-python,
numpy,
six,
shapely,
@@ -90,7 +90,7 @@ buildPythonPackage {
dependencies = [
pyclipper
opencv4
opencv-python
numpy
six
shapely
@@ -99,9 +99,6 @@ buildPythonPackage {
onnxruntime
];
# Remove because we have adopted the `opencv4` as an attribute name.
pythonRemoveDeps = [ "opencv-python" ];
pythonImportsCheck = [ "rapidocr_onnxruntime" ];
nativeCheckInputs = [ pytestCheckHook ];