unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59708] [PATCH] gnu: Add tmux-plugin-resurrect
@ 2022-11-30  0:29 EuAndreh via Guix-patches via
  2022-12-13 13:49 ` Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: EuAndreh via Guix-patches via @ 2022-11-30  0:29 UTC (permalink / raw)
  To: 59708; +Cc: EuAndreh

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

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 10b78cccf7..30082d22d6 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -267,3 +267,51 @@ (define-public tmux-xpanes
 @item Generate command lines from standard input (Pipe mode).
 @end itemize")
     (license license:expat)))
+
+(define-public tmux-plugin-resurrect
+  (package
+    (name "tmux-plugin-resurrect")
+    (version "a2ddfb96b94bb64a7a2e3f5fa2a7c57dce8ad579")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tmux-plugins/tmux-resurrect/")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gc8z99na1d4scn2kq4alwyn43h3r7ykz9bkhcypjh8iri6dsl0c"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder (begin
+                   (use-modules (guix build utils))
+                   (let ((out (string-append %output
+                                             "/share/tmux-plugins/resurrect/")))
+                     (mkdir-p out)
+                     (copy-recursively (assoc-ref %build-inputs "source") out)))))
+    (synopsis "Restore tmux environment after system restart")
+    (description
+     "This plugin goes to great lengths to save and restore all the details
+from your tmux environment.  Here's what's been taken care of:
+
+@itemize
+@item all sessions, windows, panes and their order
+@item current working directory for each pane
+@item exact pane layouts within windows (even when zoomed)
+@item active and alternative session
+@item active and alternative window for each session
+@item windows with focus
+@item active pane for each window
+@item \"grouped sessions\" (useful feature when using tmux with multiple monitors)
+@item programs running within a pane! More details in the restoring programs doc.
+@end itemize
+
+Optional:
+
+@itemize
+@item restoring vim and neovim sessions
+@item restoring pane contents
+@end itemize")
+    (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
+    (license license:expat)))
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#59708] [PATCH] gnu: Add tmux-plugin-resurrect
  2022-11-30  0:29 [bug#59708] [PATCH] gnu: Add tmux-plugin-resurrect EuAndreh via Guix-patches via
@ 2022-12-13 13:49 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-12-13 13:49 UTC (permalink / raw)
  To: EuAndreh; +Cc: 59708-done, 59708

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]


EuAndreh via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/tmux.scm (tmux-plugin-resurrect): New variable.
> ---
>  gnu/packages/tmux.scm | 48 +++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 48 insertions(+)

Hey,

I've made a tweak to the version (as using the full commit is too long)
and pushed this to master as 866eb7fffbb4a011808d8231243c39c4d5e0f004.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-13 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30  0:29 [bug#59708] [PATCH] gnu: Add tmux-plugin-resurrect EuAndreh via Guix-patches via
2022-12-13 13:49 ` Christopher Baines

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).