summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ffmpeg-python
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2024-08-27 22:52:44 +0100
committerEmily <vcs@emily.moe>2024-09-07 20:31:41 +0100
commit61922738bbdfee7c34dffb8ab6facc04b015011e (patch)
treec84b6298085555a8c88efe3336dab03f6f83614a /pkgs/development/python-modules/ffmpeg-python
parent342fb8a152c05354a2c9dc455fcbc1fc394a2912 (diff)
treewide: optimistically unpin FFmpeg 7 dependencies
Per the adjusted FFmpeg pinning advice, packages that work on the default version should use the unversioned variants to ease the migration to future versions and reduce the number of packages that end up referencing old versions. I have left HandBrake pinned as it builds a custom patched FFmpeg.
Diffstat (limited to 'pkgs/development/python-modules/ffmpeg-python')
-rw-r--r--pkgs/development/python-modules/ffmpeg-python/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/ffmpeg-python/default.nix b/pkgs/development/python-modules/ffmpeg-python/default.nix
index c337d64dc7ee..b7ae441c9f7e 100644
--- a/pkgs/development/python-modules/ffmpeg-python/default.nix
+++ b/pkgs/development/python-modules/ffmpeg-python/default.nix
@@ -2,12 +2,12 @@
lib,
buildPythonPackage,
fetchFromGitHub,
- substituteAll,
+ replaceVars,
fetchpatch2,
setuptools,
pytestCheckHook,
pytest-mock,
- ffmpeg_7,
+ ffmpeg,
}:
buildPythonPackage {
@@ -23,10 +23,7 @@ buildPythonPackage {
};
patches = [
- (substituteAll {
- src = ./ffmpeg-location.patch;
- ffmpeg = ffmpeg_7;
- })
+ (replaceVars ./ffmpeg-location.patch { inherit ffmpeg; })
# Remove dependency on `future`
# https://github.com/kkroening/ffmpeg-python/pull/795