From patchwork Sat Mar 11 21:01:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: EuAndreh X-Patchwork-Id: 47909 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A389A16BF0; Sat, 11 Mar 2023 21:21:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9AD7916B70 for ; Sat, 11 Mar 2023 21:21:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pb6eH-0002ga-FM; Sat, 11 Mar 2023 16:21:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pb6eE-0002gO-9m for guix-patches@gnu.org; Sat, 11 Mar 2023 16:21:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pb6eE-0002aU-1Z for guix-patches@gnu.org; Sat, 11 Mar 2023 16:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pb6eD-0000Xr-Ta for guix-patches@gnu.org; Sat, 11 Mar 2023 16:21:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum. References: <20230226201456.26435-1-eu@euandre.org> In-Reply-To: <20230226201456.26435-1-eu@euandre.org> Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Mar 2023 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61823 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61823@debbugs.gnu.org Cc: EuAndreh Received: via spool by 61823-submit@debbugs.gnu.org id=B61823.16785696302049 (code B ref 61823); Sat, 11 Mar 2023 21:21:01 +0000 Received: (at 61823) by debbugs.gnu.org; 11 Mar 2023 21:20:30 +0000 Received: from localhost ([127.0.0.1]:58752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb6di-0000Wz-Hi for submit@debbugs.gnu.org; Sat, 11 Mar 2023 16:20:30 -0500 Received: from euandre.org ([216.238.68.100]:51698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb6df-0000Wm-Ej for 61823@debbugs.gnu.org; Sat, 11 Mar 2023 16:20:28 -0500 Received: from euandre.org (localhost [127.0.0.1]) by euandre.org (Postfix) with ESMTP id 1E8DB707C04; Sat, 11 Mar 2023 18:20:25 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=euandre.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=dkimproxyout; bh=OIAqh+6pvq721L8ja I84Ze1TL+I=; b=Ba7PG4IUpziFjABq6FIKYaVrPcrTR3VHE+RXw8y+smX4b5sNl vmtZ7W3EYxi0GgxqbjI8WtQflN0Ae/4nSEvv/mmA2PNIRso3R34mGCGFVjs6HoWd J4GU0y38vbDOds1qxGcb29x3955+URK5VRIGH9xhDmT8CoQxHYw0HDARK8h7+swA fW9NKEJKzU0RhKCZN67lbVrvEO9n9rku/f8ulC2giW1k0RMXeyL3l77UpiSXyps0 AP902P4nALgYWkdzmkieKe88HCS5UiBjlpL8AxOHvQFJW9OeeqZMF/WI7mK9Zkhr Ge4yMh4W77pa0eHv5t4wngb8gOEyVStVyYdHg== Date: Sat, 11 Mar 2023 18:01:34 -0300 Message-Id: <20230311210134.12015-1-eu@euandre.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches X-Patchwork-Original-From: EuAndreh via Guix-patches via From: EuAndreh Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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))))