From 62407c24efbf55ddfc6215b1070e81ceebcefb17 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 30 Oct 2022 00:11:07 -0300 Subject: src/xyz/euandreh/queue.scm: Add packages tmux-plugin-{resurrect,continuum} --- src/xyz/euandreh/queue.scm | 94 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 93 insertions(+), 1 deletion(-) (limited to 'src/xyz/euandreh') diff --git a/src/xyz/euandreh/queue.scm b/src/xyz/euandreh/queue.scm index d383f4e..394a81b 100644 --- a/src/xyz/euandreh/queue.scm +++ b/src/xyz/euandreh/queue.scm @@ -2,9 +2,11 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) #:use-module (guix gexp) + #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix build-system trivial) #:use-module (gnu packages check) #:use-module (gnu packages cpio) #:use-module (gnu packages cups) @@ -242,7 +244,97 @@ Seiko Epson Color Ink Jet Printers.") (home-page "https://www.openprinting.org/driver/epson-201401w") (license license:lgpl2.1))) +(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))) + (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/continuum/"))) + (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-continuum/") + (license license:expat))) + +(define-public tmux-plugin-continuum + (package + (name "tmux-plugin-continuum") + (version "3e4bc35da41f956c873aea716c97555bf1afce5d") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/tmux-plugins/tmux-continuum/") + (commit version))) + (sha256 + (base32 "1py8qfs2f93hkxhk039m813bjgcs5k54si662gx05g3czqy06pb7")))) + (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/continuum/"))) + (mkdir-p out) + (copy-recursively (assoc-ref %build-inputs "source") + out))))) + (synopsis "Continous saving of tmux environment") + (description + "Features: + +@itemize +@item continuous saving of tmux environment +@item automatic tmux start when computer/server is turned on +@item automatic restore when tmux is started +@end itemize + +Together, these features enable uninterrupted tmux usage. No matter the +computer or server restarts, if the machine is on, tmux will be there how you +left it off the last time it was used.") + (home-page "https://github.com/tmux-plugins/tmux-continuum/") + (license license:expat))) + (list python-docx python-telegram-bot - epson-L365) + epson-L365 + tmux-plugin-resurrect + tmux-plugin-continuum) -- cgit v1.2.3