Merge pull request #216852 from rhendric/rhendric/yt-dlp

This commit is contained in:
Sandro 2023-02-18 01:29:45 +01:00 committed by GitHub
commit 4294491622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)";