emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#27279: closed ([PATCH] gnu: Add tmuxifier.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27279: closed ([PATCH] gnu: Add tmuxifier.)
Date: Sat, 17 Jun 2017 20:11:02 +0000

Your message dated Sat, 17 Jun 2017 22:10:02 +0200
with message-id <address@hidden>
and subject line Re: [bug#27279] [PATCH] gnu: Add tmuxifier.
has caused the debbugs.gnu.org bug report #27279,
regarding [PATCH] gnu: Add tmuxifier.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27279: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27279
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add tmuxifier. Date: Wed, 07 Jun 2017 22:53:44 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
>From 042aa8603b9d42d189f23cfd8bfb64da3b9eccd0 Mon Sep 17 00:00:00 2001
From: Stefan Reichoer <address@hidden>
Date: Wed, 7 Jun 2017 22:51:19 +0200
Subject: [PATCH] gnu: Add tmuxifier.

* gnu/packages/tmux.scm (tmuxifier): New variable.
---
 gnu/packages/tmux.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 5b92df8..41be237 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Matthew Jordan <address@hidden>
 ;;; Copyright © 2017 Vasile Dumitrascu <address@hidden>
+;;; Copyright © 2017 Stefan Reichör <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -89,3 +90,47 @@ continue running in the background, then later reattached.")
       (description "A collection of various themes for Tmux.")
       (license
        (non-copyleft "http://www.wtfpl.net/txt/copying/";)))))
+
+(define-public tmuxifier
+  (package
+    (name "tmuxifier")
+    (version "0.13.0")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append
+                    "https://github.com/jimeh/tmuxifier/archive/v";
+                    version ".tar.gz"))
+             (sha256
+              (base32
+               "1j9fj6zg0j3sdn7svpybzsqh7876rv81zi437976kj7hxnyjkcz7"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure)
+                  (delete 'build)
+                  (replace 'install
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out    (assoc-ref %outputs "out"))
+                             (bindir (string-append out "/bin"))
+                             (share  (string-append out "/share/" ,name)))
+                        (install-file "bin/tmuxifier" bindir)
+                        (substitute* (string-append bindir "/tmuxifier")
+                          (("set -e")
+                           (string-append "TMUXIFIER=" share "\nset -e")))
+                        (for-each (lambda (init-script)
+                                    (install-file init-script (string-append
+                                                               share "/init")))
+                                  '("init.sh" "init.tcsh" "init.fish"))
+                        (for-each (lambda (dir)
+                                    (copy-recursively dir (string-append
+                                                           share "/" dir)))
+                                  '("completion" "lib" "libexec"
+                                    "templates"))))))))
+    (home-page "https://github.com/jimeh/tmuxifier";)
+    (synopsis "Powerful session, window & pane management for Tmux")
+    (description "Tmuxifier allows you to easily create, edit, and load
+'layout' files, which are simple shell scripts where you use the tmux command
+and helper commands provided by tmuxifier to manage Tmux sessions and
+windows.")
+    (license expat)))
-- 
2.7.4




--- End Message ---
--- Begin Message --- Subject: Re: [bug#27279] [PATCH] gnu: Add tmuxifier. Date: Sat, 17 Jun 2017 22:10:02 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Stefan Reichör <address@hidden> writes:

> Thanks for your review. I have added the file-name hint. guix lint asked
> me to change '...' to @code{...}. So I changed this as well.

Pushed as commit 6c8b802f9c8ef3beb41d468eec8d2a2948efdb9c, closing.

cheers,

Thomas


--- End Message ---

reply via email to

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