14 pname = "ffmpeg-python";
15 version = "0.2.0-unstable-2022-07-11";
18 src = fetchFromGitHub {
20 repo = "ffmpeg-python";
21 rev = "df129c7ba30aaa9ffffb81a48f53aa7253b0b4e6";
22 hash = "sha256-jPiFhYRwfuS+vo6LsLw0+65NWy2A+B+EdC8SewZTRP4=";
26 (replaceVars ./ffmpeg-location.patch { inherit ffmpeg; })
28 # Remove dependency on `future`
29 # https://github.com/kkroening/ffmpeg-python/pull/795
31 url = "https://github.com/kkroening/ffmpeg-python/commit/dce459d39ace25f03edbabdad1735064787568f7.patch?full_index=1";
32 hash = "sha256-ZptCFplL88d0p2s741ymHiwyDsDGVFylBJ8FTrZDGMc=";
35 # Fix ffmpeg/tests/test_ffmpeg.py: test_pipe() (v1: ignore duplicate frames)
36 # https://github.com/kkroening/ffmpeg-python/pull/726
38 url = "https://github.com/kkroening/ffmpeg-python/commit/557ed8e81ff48c5931c9249ec4aae525347ecf85.patch?full_index=1";
39 hash = "sha256-XrL9yLaBg1tu63OYZauEb/4Ghp2zHtiF6vB+1YYbv1Y=";
42 # Fix `test__probe` on FFmpeg 7
43 # https://github.com/kkroening/ffmpeg-python/pull/848
45 url = "https://github.com/kkroening/ffmpeg-python/commit/eeaa83398ba1d4e5b470196f7d4c7ca4ba9e8ddf.patch?full_index=1";
46 hash = "sha256-/qxez4RF/RPRr9nA+wp+XB49L3VNgnMwMQhFD2NwijU=";
50 build-system = [ setuptools ];
57 pythonImportsCheck = [ "ffmpeg" ];
60 description = "Python bindings for FFmpeg - with complex filtering support";
61 homepage = "https://github.com/kkroening/ffmpeg-python";
62 license = lib.licenses.asl20;
63 maintainers = [ lib.maintainers.emily ];