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