From patchwork Wed May 17 12:24:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: EuAndreh X-Patchwork-Id: 50077 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 A213427BBE9; Wed, 17 May 2023 13:25:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 6494027BBE2 for ; Wed, 17 May 2023 13:25:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzGDL-0003bV-JK; Wed, 17 May 2023 08:25:07 -0400 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 1pzGDH-0003bJ-SA for guix-patches@gnu.org; Wed, 17 May 2023 08:25:04 -0400 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 1pzGDG-00071l-NP for guix-patches@gnu.org; Wed, 17 May 2023 08:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzGDG-0004eX-4q for guix-patches@gnu.org; Wed, 17 May 2023 08:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum. Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 May 2023 12:25:02 +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.168432625517817 (code B ref 61823); Wed, 17 May 2023 12:25:02 +0000 Received: (at 61823) by debbugs.gnu.org; 17 May 2023 12:24:15 +0000 Received: from localhost ([127.0.0.1]:49202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzGCV-0004dJ-9X for submit@debbugs.gnu.org; Wed, 17 May 2023 08:24:15 -0400 Received: from euandre.org ([216.238.68.100]:41018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzGCT-0004dA-HO for 61823@debbugs.gnu.org; Wed, 17 May 2023 08:24:14 -0400 Received: from euandre.org (localhost [127.0.0.1]) by euandre.org (Postfix) with ESMTP id 05CBED4BDB5; Wed, 17 May 2023 09:24:12 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=euandre.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=dkimproxyout; bh=DNXu eDgO/BgflvCzxiBs6ET2qTI=; b=M9IjP4KU+VIZPTyuSuYARDEEkDQymkmtgPmg Cbcx4GJqim5bAq+t2zbmpEojOn8W50vAGTVta/pwYPA2aJRN0G1C/YGMGSaH1w9e tX4dwhg6J6aqw8S7pOZLJpKeLCO2wspTHsoXgeRS6qM/u8YVAyYgJbl82oMxdlPM ON0I8McrdaB9LJb5ZgXjlOKdrp5EuIm67ry1TjiAA9n9ebCLiZ5bI95p0U2hZ6+e DslQJwExV1gvpY6QqlCltMGrINPeMoZBuAYu08xqAUOkB7MoZrfNLvb94jryaNu9 mp+J7BvsmxtAICEVuxQI7dOeRA1l/wpE4X2Ez9wGKMOoW48Zsg== Date: Wed, 17 May 2023 09:24:05 -0300 Message-Id: <20230517122405.13299-1-eu@euandre.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: 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. --- Notes: Fixed the spelling XD gnu/packages/tmux.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) base-commit: c8e599b9391f789a8a3e2183fc8f0c2a5061ceb0 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))))