unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
@ 2023-02-26 20:14 EuAndreh via Guix-patches via
  2023-03-11 21:01 ` EuAndreh via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: EuAndreh via Guix-patches via @ 2023-02-26 20:14 UTC (permalink / raw)
  To: 61823; +Cc: EuAndreh

* gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.
---

Notes:
    I've ran guix lint and style locally successfully, and also built twice
    with --rounds=2 to verify determinism.
    
    The lint says it can be upgraded to v3.1.0, but that version is older
    then the packaged commit, from around ~2015.  There hasn't been any Git
    tag ever since.

 gnu/packages/tmux.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 67ce18fea1..ec6bf78559 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -317,3 +317,43 @@ (define-public tmux-plugin-resurrect
 @end itemize")
       (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
       (license license:expat))))
+
+(define-public tmux-plugin-continuum
+  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
+        (revision "0"))
+    (package
+      (name "tmux-plugin-continuum")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tmux-plugins/tmux-continuum/")
+                      (commit commit)))
+                (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))))
-- 
2.39.1





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

* [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
  2023-02-26 20:14 [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum EuAndreh via Guix-patches via
@ 2023-03-11 21:01 ` EuAndreh via Guix-patches via
  2023-05-16 20:01   ` Greg Hogan
  0 siblings, 1 reply; 7+ messages in thread
From: EuAndreh via Guix-patches via @ 2023-03-11 21:01 UTC (permalink / raw)
  To: 61823; +Cc: EuAndreh

* gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.
---

This version addresses the new linter offense that the CI raised.

 gnu/packages/tmux.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 67ce18fea1..9a2ab7ffbe 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -317,3 +317,44 @@ (define-public tmux-plugin-resurrect
 @end itemize")
       (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
       (license license:expat))))
+
+(define-public tmux-plugin-continuum
+  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
+        (revision "0"))
+    (package
+      (name "tmux-plugin-continuum")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tmux-plugins/tmux-continuum/")
+                      (commit commit)))
+                (file-name (git-file-name name 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))))
-- 
2.39.2





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

* [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
  2023-03-11 21:01 ` EuAndreh via Guix-patches via
@ 2023-05-16 20:01   ` Greg Hogan
  2023-05-17 12:24     ` EuAndreh via Guix-patches via
  2023-05-17 12:27     ` [bug#61823] " EuAndreh via Guix-patches via
  0 siblings, 2 replies; 7+ messages in thread
From: Greg Hogan @ 2023-05-16 20:01 UTC (permalink / raw)
  To: EuAndreh; +Cc: 61823

On Sat, Mar 11, 2023 at 4:21 PM EuAndreh via Guix-patches via
<guix-patches@gnu.org> wrote:
>
> * gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.
> ---
>
> This version addresses the new linter offense that the CI raised.
>
>  gnu/packages/tmux.scm | 41 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)
>
> diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
> index 67ce18fea1..9a2ab7ffbe 100644
> --- a/gnu/packages/tmux.scm
> +++ b/gnu/packages/tmux.scm
> @@ -317,3 +317,44 @@ (define-public tmux-plugin-resurrect
>  @end itemize")
>        (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
>        (license license:expat))))
> +
> +(define-public tmux-plugin-continuum
> +  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
> +        (revision "0"))
> +    (package
> +      (name "tmux-plugin-continuum")
> +      (version (git-version "0" revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://github.com/tmux-plugins/tmux-continuum/")
> +                      (commit commit)))
> +                (file-name (git-file-name name 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")

Continous -> Continuous (thanks spell check!)

> +      (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))))
> --
> 2.39.2

I am able to load and configure settings for this plugin. I have not
been able to fully test the operation due to my use of "oh my tmux"
and the challenges of integrating into the status bar. The patch looks
good to my eyes other than the synopsis spelling noted above.




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

* [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
  2023-05-16 20:01   ` Greg Hogan
@ 2023-05-17 12:24     ` EuAndreh via Guix-patches via
  2023-05-17 12:28       ` EuAndreh via Guix-patches via
  2023-06-08 21:43       ` bug#61823: " Ludovic Courtès
  2023-05-17 12:27     ` [bug#61823] " EuAndreh via Guix-patches via
  1 sibling, 2 replies; 7+ messages in thread
From: EuAndreh via Guix-patches via @ 2023-05-17 12:24 UTC (permalink / raw)
  To: 61823; +Cc: EuAndreh

* gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.
---

Notes:
    Fixed the spelling XD

 gnu/packages/tmux.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 67ce18fea1..7ed3c6aef3 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -317,3 +317,44 @@ (define-public tmux-plugin-resurrect
 @end itemize")
       (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
       (license license:expat))))
+
+(define-public tmux-plugin-continuum
+  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
+        (revision "0"))
+    (package
+      (name "tmux-plugin-continuum")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tmux-plugins/tmux-continuum/")
+                      (commit commit)))
+                (file-name (git-file-name name 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 "Continuous 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))))

base-commit: c8e599b9391f789a8a3e2183fc8f0c2a5061ceb0
-- 
2.39.2





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

* [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
  2023-05-16 20:01   ` Greg Hogan
  2023-05-17 12:24     ` EuAndreh via Guix-patches via
@ 2023-05-17 12:27     ` EuAndreh via Guix-patches via
  1 sibling, 0 replies; 7+ messages in thread
From: EuAndreh via Guix-patches via @ 2023-05-17 12:27 UTC (permalink / raw)
  To: Greg Hogan; +Cc: 61823

Also, I have been running the 
tmux-plugin-continuum+tmux-plugin-resurrect combo for some months now 
with no hiccups so far.




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

* [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
  2023-05-17 12:24     ` EuAndreh via Guix-patches via
@ 2023-05-17 12:28       ` EuAndreh via Guix-patches via
  2023-06-08 21:43       ` bug#61823: " Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: EuAndreh via Guix-patches via @ 2023-05-17 12:28 UTC (permalink / raw)
  To: 61823

This version was rebased with master.




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

* bug#61823: [PATCH] gnu: Add tmux-plugin-continuum.
  2023-05-17 12:24     ` EuAndreh via Guix-patches via
  2023-05-17 12:28       ` EuAndreh via Guix-patches via
@ 2023-06-08 21:43       ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2023-06-08 21:43 UTC (permalink / raw)
  To: EuAndreh; +Cc: 61823-done

Hi,

EuAndreh <eu@euandre.org> skribis:

> * gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.

Finally applied, thanks!

Ludo’.




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

end of thread, other threads:[~2023-06-08 21:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-26 20:14 [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum EuAndreh via Guix-patches via
2023-03-11 21:01 ` EuAndreh via Guix-patches via
2023-05-16 20:01   ` Greg Hogan
2023-05-17 12:24     ` EuAndreh via Guix-patches via
2023-05-17 12:28       ` EuAndreh via Guix-patches via
2023-06-08 21:43       ` bug#61823: " Ludovic Courtès
2023-05-17 12:27     ` [bug#61823] " EuAndreh via Guix-patches via

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