gnu: twitchy: Install 'rofi-twitchy'.

* gnu/packages/video.scm (twitchy): Install 'rofi-twitchy'.
This commit is contained in:
Oleg Pykhalov 2018-06-08 19:11:24 +03:00
parent cbc1c27b67
commit ca82bdfdfb
No known key found for this signature in database
GPG Key ID: 7246E11C69B79569

View File

@ -1865,7 +1865,12 @@ from sites like Twitch.tv and pipes them into a video player of choice.")
(add-before 'check 'check-setup
(lambda _
(setenv "HOME" (getcwd)) ;Needs to write to $HOME.
#t)))))
#t))
(add-after 'install 'install-rofi-plugin
(lambda* (#:key outputs #:allow-other-keys)
(install-file "plugins/rofi-twitchy"
(string-append (assoc-ref outputs "out")
"/bin")))))))
(inputs
`(("python-requests" ,python-requests)
("streamlink" ,streamlink)))