diff options
| author | Emily <vcs@emily.moe> | 2024-08-04 00:38:57 +0100 |
|---|---|---|
| committer | Emily <vcs@emily.moe> | 2024-08-09 23:04:23 +0100 |
| commit | ec5081355bd44b512c77c26852fe62fa7402c301 (patch) | |
| tree | 367d7f6deaadca18918a3b34b5410556eb55aa75 /pkgs/development/python-modules/ffmpeg-python | |
| parent | 6956c4868ae56fb5f3bda459b17c904694671e4a (diff) | |
python3Packages.ffmpeg-python: patch out future dependency
Diffstat (limited to 'pkgs/development/python-modules/ffmpeg-python')
| -rw-r--r-- | pkgs/development/python-modules/ffmpeg-python/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/ffmpeg-python/default.nix b/pkgs/development/python-modules/ffmpeg-python/default.nix index 48e4b6863408..ee9c19acbd31 100644 --- a/pkgs/development/python-modules/ffmpeg-python/default.nix +++ b/pkgs/development/python-modules/ffmpeg-python/default.nix @@ -3,8 +3,8 @@ buildPythonPackage, fetchFromGitHub, substituteAll, + fetchpatch2, setuptools, - future, pytestCheckHook, pytest-mock, ffmpeg_4, @@ -27,12 +27,17 @@ buildPythonPackage { src = ./ffmpeg-location.patch; ffmpeg = ffmpeg_4; }) + + # Remove dependency on `future` + # https://github.com/kkroening/ffmpeg-python/pull/795 + (fetchpatch2 { + url = "https://github.com/kkroening/ffmpeg-python/commit/dce459d39ace25f03edbabdad1735064787568f7.patch?full_index=1"; + hash = "sha256-ZptCFplL88d0p2s741ymHiwyDsDGVFylBJ8FTrZDGMc="; + }) ]; build-system = [ setuptools ]; - dependencies = [ future ]; - nativeCheckInputs = [ pytestCheckHook pytest-mock |
