youtube-dl: install zsh completion
This commit is contained in:
parent
5948024c40
commit
0764d5992c
@ -38,11 +38,16 @@ buildPythonApplication rec {
|
|||||||
++ optional phantomjsSupport phantomjs2;
|
++ optional phantomjsSupport phantomjs2;
|
||||||
in [ ''--prefix PATH : "${makeBinPath packagesToBinPath}"'' ];
|
in [ ''--prefix PATH : "${makeBinPath packagesToBinPath}"'' ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/zsh/site-functions
|
||||||
|
cp youtube-dl.zsh $out/share/zsh/site-functions/_youtube-dl
|
||||||
|
'';
|
||||||
|
|
||||||
# Requires network
|
# Requires network
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://rg3.github.io/youtube-dl/;
|
homepage = https://rg3.github.io/youtube-dl/;
|
||||||
repositories.git = https://github.com/rg3/youtube-dl.git;
|
repositories.git = https://github.com/rg3/youtube-dl.git;
|
||||||
description = "Command-line tool to download videos from YouTube.com and other sites";
|
description = "Command-line tool to download videos from YouTube.com and other sites";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user