10 buildPythonPackage rec {
15 inherit pname version;
16 sha256 = "1clifwczvhvbaw2spgxkkyqsbqh21vyfw3rh094pxfmq89ylyj63";
19 propagatedBuildInputs = [
27 substituteInPlace setup.py \
28 --replace "python-Levenshtein" "Levenshtein" \
29 --replace "opencv-python" "opencv"
30 substituteInPlace videocr/constants.py \
31 --replace "master" "main"
32 substituteInPlace videocr/video.py \
33 --replace '--tessdata-dir "{}"' '--tessdata-dir="{}"'
36 # Project has no tests
39 pythonImportsCheck = [ "videocr" ];
42 description = "Extract hardcoded subtitles from videos using machine learning";
43 homepage = "https://github.com/apm1467/videocr";
44 license = licenses.mit;
45 maintainers = with maintainers; [ ozkutuk ];