python3Packages.ffmpeg-python: patch out future dependency

This commit is contained in:
Emily
2024-08-09 23:04:23 +01:00
parent 6956c4868a
commit ec5081355b
@@ -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