mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
yt-dlp: add updateScript
This commit is contained in:
parent
958dbd6c08
commit
abda1b2b44
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
, ffmpegSupport ? true
|
||||
, rtmpSupport ? true
|
||||
, withAlias ? false # Provides bin/youtube-dl for backcompat
|
||||
, update-python-libraries
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -53,6 +54,8 @@ buildPythonPackage rec {
|
|||
ln -s "$out/bin/yt-dlp" "$out/bin/youtube-dl"
|
||||
'';
|
||||
|
||||
passthru.updateScript = [ update-python-libraries (toString ./.) ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/yt-dlp/yt-dlp/";
|
||||
description = "Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork)";
|
||||
|
|
Loading…
Reference in a new issue