parent
a11237e40a
commit
acd595c237
|
@ -1681,17 +1681,7 @@ To load this plugin, specify the following option when starting mpv:
|
||||||
(mkdir-p zsh)
|
(mkdir-p zsh)
|
||||||
(copy-file "youtube-dl.zsh"
|
(copy-file "youtube-dl.zsh"
|
||||||
(string-append zsh "/_youtube-dl"))
|
(string-append zsh "/_youtube-dl"))
|
||||||
#t)))
|
#t))))))
|
||||||
(add-after 'install 'wrap-executable
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out"))
|
|
||||||
(ffmpeg (assoc-ref inputs "ffmpeg")))
|
|
||||||
(wrap-program (string-append out "/bin/youtube-dl")
|
|
||||||
`("PATH" ":" prefix
|
|
||||||
,(list (string-append ffmpeg "/bin")))))
|
|
||||||
#t)))))
|
|
||||||
(inputs
|
|
||||||
`(("ffmpeg" ,ffmpeg)))
|
|
||||||
(synopsis "Download videos from YouTube.com and other sites")
|
(synopsis "Download videos from YouTube.com and other sites")
|
||||||
(description
|
(description
|
||||||
"Youtube-dl is a small command-line program to download videos from
|
"Youtube-dl is a small command-line program to download videos from
|
||||||
|
|
Reference in New Issue