me
/
guix
Archived
1
0
Fork 0

gnu: curseradio: Link to mpv.

This fixes https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38789

* gnu/packages/music.scm (curseradio)[arguments]: Add phase to hardcode
path of mpv.
[propagated-inputs]: Move mpv ...
[inputs]: ... to here.
master
Efraim Flashner 2019-12-29 09:49:32 +02:00
parent 34085eabcc
commit e79a07bcc7
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 12 additions and 2 deletions

View File

@ -2569,11 +2569,21 @@ socket or command line.")
(base32
"11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'link-to-mpv
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "curseradio/curseradio.py"
(("/usr/bin/mpv")
(string-append (assoc-ref inputs "mpv") "/bin/mpv")))
#t)))))
(propagated-inputs
`(("python-lxml" ,python-lxml)
("python-requests" ,python-requests)
("python-pyxdg" ,python-pyxdg)
("mpv" ,mpv)))
("python-pyxdg" ,python-pyxdg)))
(inputs
`(("mpv" ,mpv)))
(home-page "https://github.com/chronitis/curseradio")
(synopsis "Command-line Internet radio player")
(description "Curseradio is a Curses-based radio player that uses a