From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kGjqDR6khmM+hgAAbAwnHQ (envelope-from ) for ; Wed, 30 Nov 2022 01:30:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id END+DB6khmOJQwAAG6o9tA (envelope-from ) for ; Wed, 30 Nov 2022 01:30:22 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E2EED1B86D for ; Wed, 30 Nov 2022 01:30:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0AzJ-0004VF-3g; Tue, 29 Nov 2022 19:30:09 -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 1p0AzE-0004Ug-Mk for guix-patches@gnu.org; Tue, 29 Nov 2022 19:30:04 -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 1p0AzE-0000EA-9n for guix-patches@gnu.org; Tue, 29 Nov 2022 19:30:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0AzC-0005AL-MX for guix-patches@gnu.org; Tue, 29 Nov 2022 19:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59708] [PATCH] gnu: Add tmux-plugin-resurrect Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Nov 2022 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59708 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59708@debbugs.gnu.org Cc: EuAndreh X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166976815319793 (code B ref -1); Wed, 30 Nov 2022 00:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Nov 2022 00:29:13 +0000 Received: from localhost ([127.0.0.1]:57404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0AyO-00059B-Ir for submit@debbugs.gnu.org; Tue, 29 Nov 2022 19:29:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:59420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0AyJ-000595-Da for submit@debbugs.gnu.org; Tue, 29 Nov 2022 19:29:11 -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 1p0AyJ-0004QN-8c for guix-patches@gnu.org; Tue, 29 Nov 2022 19:29:07 -0500 Received: from euandre.org ([2001:19f0:b400:1f0c:5400:4ff:fe35:8c89]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0AyH-0008Qe-E6 for guix-patches@gnu.org; Tue, 29 Nov 2022 19:29:06 -0500 Received: from euandre.org (localhost [127.0.0.1]) by euandre.org (Postfix) with ESMTP id 31E31379502; Tue, 29 Nov 2022 21:29:03 -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=dkimproxy; bh=lnR3OWyDbghj074J3fmS ebl02uo=; b=WQligYWQ2uTwn683Rzke2FIt0xnRKlqPMalL1ZMUsI51nxJ93U27 2mRqJI0mSxIc/U2eW460P06bIRTfeElIvXRdO3dzhyJRSJvVfMYBs/3VtoZfxfzp PeBlPm8zvWGr2jlFTviMmUY+Lq+Hyuh5WT1tTgDoVePop0hRT32GCD8OmuPCHWy2 E5t5EhWWKZ6PC2qF4BAvo49/sO9xXOPG3fguozHLdKe9dj9u8BoD4BC/M05gqGdF 3YR/Dm7umOYQF7j9HwEiMaAE6S2AaOnZJjpW2JQNxe+/dyH2ygQNUvg8cUDNP7YC UM/diNiJ1PAfLcCBIMLMo10eK8KDXZ3VkA== Date: Tue, 29 Nov 2022 21:29:00 -0300 Message-Id: <20221130002900.28278-1-eu@euandre.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:19f0:b400:1f0c:5400:4ff:fe35:8c89; envelope-from=eu@euandre.org; helo=euandre.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 From: EuAndreh via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669768221; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rigywozADEMkycnwIDZ6fkLwRdsbQ3wniGJTRK2Y3xA=; b=lFkHIpwbZKu0UtTJ+4tiv/or1FVLr9UymZHu4ngU2k7ZDVyOF1oMptObvI0gyB8cgfFXmx jbxMiSobdUd5Wjgfp+M7zWpGLzdo0oHyHF/h30HadxkzGUAWVNsRBMND1TTi8VYGecwDWM EgY50OSGe0ipHKHXnLR+Wivhy8c3HvGMUJQoyGtbKtOT88I/OCDN2HPfME5YZlAKsGVobV VyWFV6xSqSa/utIgf+H817bbjhZXUyBEKT97nZYqnc5F6TvkkibqIv0z6KePTJgTzQJ5Sr QTj6JHQMjdx1PRYK3DZo7PsjTnTKuY71yisbRyfpH4CGV5/3sQ6SNQvNEzoObg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669768221; a=rsa-sha256; cv=none; b=aJXxCpqjR2rBJoUvWG4b92viYQHQEJ9YLBZWKBN5Ne80DvJRV9fXWLERl/WxCZuFaGM0kF fK28cH8Rp1ueiKC1/aaPW87gY7ip2/tZ1sNhbVDcsaUFRci1YFFIyq8A96WbVz3JQXnvbH mrxVhYHTwOivNuOcNvAPnoVt1AGn8bilXg4bulfLKuG5xDE24z3XBLchGTUAZFJW2t2rUy d1qfJGdhZidFFEkv8gRaDdiIF3bMYcpSZruuRYp7r5vl5zlaaPqz1iuWlQnxejmwP/yeWC j8+nOwULzLHmDVk3HVnNQFHbBysRXAPR6Skk7Py8i7n0CgxzCVstoE/lZdulFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=dkimproxy header.b=WQligYWQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.06 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=dkimproxy header.b=WQligYWQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E2EED1B86D X-Spam-Score: -4.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: 47CoHT3oN/Ns * 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/resurr= ect/"))) + (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 deta= ils +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 prog= rams 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))) --=20 2.38.1