20 buildPythonPackage rec {
23 format = "setuptools";
25 disabled = pythonOlder "3.7";
27 src = fetchFromGitHub {
30 rev = "refs/tags/v${version}";
31 hash = "sha256-EiiJ2LJ3uYIvgPd2y25MraV5kTa47JalDR7SLbkM9UI=";
35 substituteInPlace requirements.txt \
36 --replace "opencv-python-headless" "" \
40 propagatedBuildInputs = [
59 pythonImportsCheck = [
64 description = "Ready-to-use OCR with 80+ supported languages and all popular writing scripts";
65 mainProgram = "easyocr";
66 homepage = "https://github.com/JaidedAI/EasyOCR";
67 changelog = "https://github.com/JaidedAI/EasyOCR/releases/tag/v${version}";
68 license = licenses.asl20;
69 maintainers = with maintainers; [ dit7ya ];