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.
This commit is contained in:
parent
8e4fe32876
commit
748e20cc7c
|
@ -2,9 +2,9 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, ffmpeg_3
|
, pytestCheckHook
|
||||||
|
, ffmpeg
|
||||||
, future
|
, future
|
||||||
, pytest
|
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
}:
|
}:
|
||||||
|
@ -21,23 +21,20 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(
|
(substituteAll {
|
||||||
substituteAll {
|
src = ./ffmpeg-location.patch;
|
||||||
src = ./ffmpeg-location.patch;
|
inherit ffmpeg;
|
||||||
ffmpeg = ffmpeg_3;
|
})
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ pytestrunner ];
|
buildInputs = [ pytestrunner ];
|
||||||
propagatedBuildInputs = [ future ];
|
propagatedBuildInputs = [ future ];
|
||||||
checkInputs = [ pytest pytest-mock ];
|
checkInputs = [ pytestCheckHook pytest-mock ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python bindings for FFmpeg - with complex filtering support";
|
description = "Python bindings for FFmpeg - with complex filtering support";
|
||||||
homepage = "https://github.com/kkroening/ffmpeg-python";
|
homepage = "https://github.com/kkroening/ffmpeg-python";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.AluisioASG ];
|
maintainers = [ maintainers.AluisioASG ];
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue