diff options
author | Aluísio Augusto Silva Gonçalves <aluisio@aasg.name> | 2021-04-26 16:51:33 -0300 |
---|---|---|
committer | Aluísio Augusto Silva Gonçalves <aluisio@aasg.name> | 2021-04-26 16:51:33 -0300 |
commit | 748e20cc7c4793cf13d99607755063c5380628ff (patch) | |
tree | ab1bd7a334f8a5e200410995c1f3945795533356 /pkgs/development/python-modules/ffmpeg-python | |
parent | 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17 (diff) |
python3Packages.ffmpeg-python: replace ffmpeg_3 with ffmpeg
See https://github.com/NixOS/nixpkgs/issues/120705 for the rationale. ffmpeg-python doesn't seem to be strongly bound to any ffmpeg version so we can just migrate away.
Diffstat (limited to 'pkgs/development/python-modules/ffmpeg-python')
-rw-r--r-- | pkgs/development/python-modules/ffmpeg-python/default.nix | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/ffmpeg-python/default.nix b/pkgs/development/python-modules/ffmpeg-python/default.nix index 51b0060cb2d60..f845ca6a5d36e 100644 --- a/pkgs/development/python-modules/ffmpeg-python/default.nix +++ b/pkgs/development/python-modules/ffmpeg-python/default.nix @@ -2,9 +2,9 @@ , buildPythonPackage , fetchFromGitHub , substituteAll -, ffmpeg_3 +, pytestCheckHook +, ffmpeg , future -, pytest , pytestrunner , pytest-mock }: @@ -21,23 +21,20 @@ buildPythonPackage rec { }; patches = [ - ( - substituteAll { - src = ./ffmpeg-location.patch; - ffmpeg = ffmpeg_3; - } - ) + (substituteAll { + src = ./ffmpeg-location.patch; + inherit ffmpeg; + }) ]; buildInputs = [ pytestrunner ]; propagatedBuildInputs = [ future ]; - checkInputs = [ pytest pytest-mock ]; + checkInputs = [ pytestCheckHook pytest-mock ]; meta = with lib; { description = "Python bindings for FFmpeg - with complex filtering support"; homepage = "https://github.com/kkroening/ffmpeg-python"; license = licenses.asl20; maintainers = [ maintainers.AluisioASG ]; - platforms = platforms.all; }; } |