Revert "gnu: youtube-dl: Add 'ffmpeg' as input."

This reverts commit 4233e74b39.
This commit is contained in:
Mathieu Othacehe 2020-03-23 21:49:45 +01:00
parent a11237e40a
commit acd595c237
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -1681,17 +1681,7 @@ (define-public youtube-dl
(mkdir-p zsh)
(copy-file "youtube-dl.zsh"
(string-append zsh "/_youtube-dl"))
#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)))
#t))))))
(synopsis "Download videos from YouTube.com and other sites")
(description
"Youtube-dl is a small command-line program to download videos from