From: "Stefan Reichör" <stefan@xsteve.at>
To: 27279@debbugs.gnu.org
Subject: bug#27279: [PATCH] gnu: Add tmuxifier.
Date: Wed, 07 Jun 2017 22:53:44 +0200 [thread overview]
Message-ID: <87o9tzplif.fsf@xsteve.at> (raw)
[-- Attachment #1: 0001-gnu-Add-tmuxifier.patch --]
[-- Type: text/x-diff, Size: 3272 bytes --]
From 042aa8603b9d42d189f23cfd8bfb64da3b9eccd0 Mon Sep 17 00:00:00 2001
From: Stefan Reichoer <stefan@xsteve.at>
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 <efraim@flashner.co.il>
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
+;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
;;;
;;; 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
next reply other threads:[~2017-06-07 20:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-07 20:53 Stefan Reichör [this message]
2017-06-16 13:32 ` [bug#27279] [PATCH] gnu: Add tmuxifier Thomas Danckaert
2017-06-16 19:33 ` Stefan Reichör
2017-06-17 20:10 ` bug#27279: " Thomas Danckaert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9tzplif.fsf@xsteve.at \
--to=stefan@xsteve.at \
--cc=27279@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).