guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: twitchy: Install 'rofi-twitchy'.


From: Oleg Pykhalov
Subject: 01/01: gnu: twitchy: Install 'rofi-twitchy'.
Date: Fri, 8 Jun 2018 13:31:30 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit ca82bdfdfbb6d2dae5875158ed418cc823bc5799
Author: Oleg Pykhalov <address@hidden>
Date:   Fri Jun 8 19:11:24 2018 +0300

    gnu: twitchy: Install 'rofi-twitchy'.
    
    * gnu/packages/video.scm (twitchy): Install 'rofi-twitchy'.
---
 gnu/packages/video.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 51ca1c0..8cd7a3d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]