mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
youtube-dl: Change to ffmpeg_4
This is to reduce the closure size of mpv which wraps youtube-dl
This commit is contained in:
parent
ca7ef865c4
commit
049471403b
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchurl, buildPythonPackage
|
||||
, zip, ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
|
||||
, zip, ffmpeg_4, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
|
||||
, fetchpatch
|
||||
# Pandoc is required to build the package's man page. Release tarballs contain a
|
||||
# formatted man page already, though, it will still be installed. We keep the
|
||||
|
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
|||
makeWrapperArgs = let
|
||||
packagesToBinPath =
|
||||
[ atomicparsley ]
|
||||
++ lib.optional ffmpegSupport ffmpeg
|
||||
++ lib.optional ffmpegSupport ffmpeg_4
|
||||
++ lib.optional rtmpSupport rtmpdump
|
||||
++ lib.optional phantomjsSupport phantomjs2;
|
||||
in [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ];
|
||||
|
|
Loading…
Reference in a new issue