yt-dlp: make atomicparsley optional
This commit is contained in:
parent
6ee9a9d0be
commit
14dd7b52b1
1 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,7 @@
|
|||
, pycryptodomex
|
||||
, websockets
|
||||
, mutagen
|
||||
, atomicparsleySupport ? true
|
||||
, ffmpegSupport ? true
|
||||
, rtmpSupport ? true
|
||||
, phantomjsSupport ? false
|
||||
|
@ -37,11 +38,12 @@ buildPythonPackage rec {
|
|||
# - atomicparsley: embedding thumbnails
|
||||
makeWrapperArgs =
|
||||
let
|
||||
packagesToBinPath = [ atomicparsley ]
|
||||
packagesToBinPath = []
|
||||
++ lib.optional atomicparsleySupport atomicparsley
|
||||
++ lib.optional ffmpegSupport ffmpeg
|
||||
++ lib.optional rtmpSupport rtmpdump
|
||||
++ lib.optional phantomjsSupport phantomjs2;
|
||||
in
|
||||
in lib.optionalString (packagesToBinPath != [])
|
||||
[ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ];
|
||||
|
||||
setupPyBuildFlags = [
|
||||
|
|
Loading…
Reference in a new issue