13 buildPythonPackage rec {
14 pname = "ffmpeg-python";
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
22 repo = "ffmpeg-python";
24 hash = "sha256-Dk3nHuYVlIiFF6nORZ5TVFkBXdoZUxLfoiz68V1tvlY=";
27 propagatedBuildInputs = [
38 src = ./ffmpeg-location.patch;
44 substituteInPlace setup.py \
45 --replace "'pytest-runner'" ""
48 pythonImportsCheck = [
52 disabledTests = lib.optionals (pythonAtLeast "3.10") [
53 "test__output__video_size"
57 description = "Python bindings for FFmpeg - with complex filtering support";
58 homepage = "https://github.com/kkroening/ffmpeg-python";
59 license = licenses.asl20;
60 maintainers = with maintainers; [ AluisioASG ];