twitch-dl: add ffmpeg to application path (#345303)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
, python3Packages
|
||||
, installShellFiles
|
||||
, scdoc
|
||||
, ffmpeg
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
@@ -28,6 +29,7 @@ python3Packages.buildPythonApplication rec {
|
||||
scdoc
|
||||
];
|
||||
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
click
|
||||
httpx
|
||||
@@ -58,6 +60,10 @@ python3Packages.buildPythonApplication rec {
|
||||
"twitchdl.commands"
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath [ ffmpeg ])
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
scdoc < twitch-dl.1.scd > twitch-dl.1
|
||||
installManPage twitch-dl.1
|
||||
@@ -72,7 +78,7 @@ python3Packages.buildPythonApplication rec {
|
||||
homepage = "https://github.com/ihabunek/twitch-dl";
|
||||
changelog = "https://github.com/ihabunek/twitch-dl/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ pbsds ];
|
||||
maintainers = with maintainers; [ pbsds hausken ];
|
||||
mainProgram = "twitch-dl";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user