summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ffmpeg-python
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/ffmpeg-python')
-rw-r--r--pkgs/development/python-modules/ffmpeg-python/default.nix17
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 51b0060cb2d6..f845ca6a5d36 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;
};
}