python310Packages.easyocr: 1.6.2 -> 1.7.0

Diff: https://github.com/JaidedAI/EasyOCR/compare/refs/tags/v1.6.2...v1.7.0

Changelog: https://github.com/JaidedAI/EasyOCR/releases/tag/v1.7.0
This commit is contained in:
Fabian Affolter 2023-06-09 23:17:42 +02:00
parent 2613f870fb
commit 2163573a46

View file

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "easyocr";
version = "1.6.2";
version = "1.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -28,12 +28,12 @@ buildPythonPackage rec {
owner = "JaidedAI";
repo = "EasyOCR";
rev = "refs/tags/v${version}";
hash = "sha256-f+JBSnFMRvVlhRRiL1rJb7a0CNjZPuh6r8r3K1meQCk=";
hash = "sha256-01Exz55eTIO/xzdq/dzV+ELkU75hpxe/EbjIqLBA8h0=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace "opencv-python-headless<=4.5.4.60" "" \
--replace "opencv-python-headless" "" \
--replace "ninja" ""
'';