[PATCH 0/7] gnu: Add tmux-sessionizer plugin.

  • Open
  • quality assurance status badge
Details
One participant
  • Alex Bosco
Owner
unassigned
Submitted by
Alex Bosco
Severity
normal

Debbugs page

A
A
Alex Bosco wrote on 7 Mar 15:40 -0800
(address . guix-patches@gnu.org)(name . Alex Bosco)(address . me@alexbos.co)
cover.1741388878.git.me@alexbos.co
This patch series adds the 'tmux-sessionizer' tmux plugin and its
dependencies.

Dependency tree:
tmux-sessionizer
1. ratatui-0.28
a. octocrab-0.39
2. error-stack-0.5
a. ansi-to-html-0.2
3. nucleo-0.5
a. nucleo-matcher-0.3

Something to note is when using these as package definitions in my
personal config I didn't need to include 'rust-cov-mark' as an input
for rust-nucleo-matcher-0.3
but when building from the crates-io file I did.

Alex Bosco (7):
gnu: Add rust-octocrab-0.39.
gnu: Add rust-ratatui-0.28.
gnu: Add rust-nucleo-matcher-0.3.
gnu: Add rust-nucleo-0.5.
gnu: Add rust-ansi-to-html-0.2.
gnu: Add rust-error-stack-0.5.
gnu: Add tmux-plugin-sessionizer.

gnu/packages/crates-io.scm | 234 ++++++++++++++++++++++++++++++++++---
gnu/packages/tmux.scm | 59 +++++++++-
2 files changed, 277 insertions(+), 16 deletions(-)


base-commit: 535efb3c9add7e32530aa0dced40b18b12b8ed95
--
2.48.1
A
A
Alex Bosco wrote on 8 Mar 05:16 -0800
[PATCH 1/7] gnu: Add rust-octocrab-0.39.
(address . 76854@debbugs.gnu.org)(name . Alex Bosco)(address . me@alexbos.co)
824b8516513544879f6e14301e864e3745d4d604.1741388878.git.me@alexbos.co
Change-Id: I45d7a2e138608ebfee59acbb6c6d38a40ac11c6d
Signed-off-by: Alex Bosco <me@alexbos.co>
---
gnu/packages/crates-io.scm | 54 ++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)

Toggle diff (67 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68c52b2772..dc71305675 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49411,6 +49411,60 @@ (define-public rust-octocrab-0.41
"This package provides a modern, extensible @code{GitHub} API client.")
(license (list license:expat license:asl2.0))))
+(define-public rust-octocrab-0.39
+ (package
+ (inherit rust-octocrab-0.41)
+ (name "rust-octocrab")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "octocrab" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00a19h6xpcbpf9dcim9pbvz1awfasvlwjnfn5gsd1v23jp4y81ck"))))
+ (arguments
+ `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1)
+ ("rust-async-trait" ,rust-async-trait-0.1)
+ ("rust-base64" ,rust-base64-0.22)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-either" ,rust-either-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-1)
+ ("rust-http-body" ,rust-http-body-1)
+ ("rust-http-body-util" ,rust-http-body-util-0.1)
+ ("rust-hyper" ,rust-hyper-1)
+ ("rust-hyper-rustls" ,rust-hyper-rustls-0.26)
+ ("rust-hyper-timeout" ,rust-hyper-timeout-0.5)
+ ("rust-hyper-tls" ,rust-hyper-tls-0.6)
+ ("rust-hyper-util" ,rust-hyper-util-0.1)
+ ("rust-jsonwebtoken" ,rust-jsonwebtoken-9)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-secrecy" ,rust-secrecy-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
+ ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)
+ ("rust-snafu" ,rust-snafu-0.8)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tower" ,rust-tower-0.4)
+ ("rust-tower-http" ,rust-tower-http-0.5)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs (("rust-base64" ,rust-base64-0.22)
+ ("rust-crypto-box" ,rust-crypto-box-0.8)
+ ("rust-graphql-client" ,rust-graphql-client-0.14)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-test" ,rust-tokio-test-0.4)
+ ("rust-wiremock" ,rust-wiremock-0.6))))))
+
(define-public rust-odbc-api-0.36
(package
(name "rust-odbc-api")
--
2.48.1
A
A
Alex Bosco wrote on 8 Mar 05:16 -0800
[PATCH 2/7] gnu: Add rust-ratatui-0.28.
(address . 76854@debbugs.gnu.org)(name . Alex Bosco)(address . me@alexbos.co)
aba89a0ad5774aa503bfd8c4d928b403d089a9e9.1741388878.git.me@alexbos.co
Change-Id: Ibcdc7f90dbfca428af50d4a64419eadd0d67dce4
Signed-off-by: Alex Bosco <me@alexbos.co>
---
gnu/packages/crates-io.scm | 59 +++++++++++++++++++++++++++++++++++++-
1 file changed, 58 insertions(+), 1 deletion(-)

Toggle diff (74 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dc71305675..5cbe7f172d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62817,9 +62817,66 @@ (define-public rust-ratatui-0.29
interfaces.")
(license license:expat)))
+(define-public rust-ratatui-0.28
+ (package
+ (inherit rust-ratatui-0.29)
+ (name "rust-ratatui")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ratatui" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00w3jw6xay3nrqkhwl0226j102wpdd2a5gkmjaciammymxjs79jv"))))
+ (arguments
+ `(#:cargo-test-flags '("--"
+ "--skip=backend::test::tests::buffer_view_with_overwrites"
+ "--skip=buffer::buffer::tests::renders_emoji::case_2_polarbear"
+ "--skip=buffer::buffer::tests::renders_emoji::case_3_eye_speechbubble"
+ "--skip=text::span::tests::width")
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cassowary" ,rust-cassowary-0.3)
+ ("rust-compact-str" ,rust-compact-str-0.8)
+ ("rust-crossterm" ,rust-crossterm-0.28)
+ ("rust-document-features" ,rust-document-features-0.2)
+ ("rust-instability" ,rust-instability-0.3)
+ ("rust-itertools" ,rust-itertools-0.13)
+ ("rust-lru" ,rust-lru-0.12)
+ ("rust-palette" ,rust-palette-0.7)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-strum" ,rust-strum-0.26)
+ ("rust-strum-macros" ,rust-strum-macros-0.26)
+ ("rust-termion" ,rust-termion-4)
+ ("rust-termwiz" ,rust-termwiz-0.22)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-truncate" ,rust-unicode-truncate-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1)
+ ("rust-color-eyre" ,rust-color-eyre-0.6)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-crossterm" ,rust-crossterm-0.28)
+ ("rust-derive-builder" ,rust-derive-builder-0.20)
+ ("rust-fakeit" ,rust-fakeit-1)
+ ("rust-font8x8" ,rust-font8x8-0.3)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-indoc" ,rust-indoc-2)
+ ("rust-octocrab" ,rust-octocrab-0.39)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+ ("rust-rstest" ,rust-rstest-0.22)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-appender" ,rust-tracing-appender-0.2)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))))
+
(define-public rust-ratatui-0.27
(package
- (inherit rust-ratatui-0.29)
+ (inherit rust-ratatui-0.28)
(name "rust-ratatui")
(version "0.27.0")
(source
--
2.48.1
A
A
Alex Bosco wrote on 8 Mar 05:16 -0800
[PATCH 3/7] gnu: Add rust-nucleo-matcher-0.3.
(address . 76854@debbugs.gnu.org)(name . Alex Bosco)(address . me@alexbos.co)
63736342bcefc45c74839ae1161d8c8ca2343a05.1741388878.git.me@alexbos.co
Change-Id: Ie57590ff356bef6609bbdce8eff96da46e94b7a5
Signed-off-by: Alex Bosco <me@alexbos.co>
---
gnu/packages/crates-io.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

Toggle diff (47 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5cbe7f172d..6e5d63f534 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47944,17 +47944,17 @@ (define-public rust-nucleo-0.2
"This package provides plug and play high performance fuzzy matcher.")
(license license:mpl2.0)))
-(define-public rust-nucleo-matcher-0.2
+(define-public rust-nucleo-matcher-0.3
(package
(name "rust-nucleo-matcher")
- (version "0.2.0")
+ (version "0.3.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "nucleo-matcher" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0mxxz58acszkgxha4wy459fkcx6f8sh55d803wnid1p25x02nw0v"))))
+ (base32 "11dc5kfin1n561qdcg0x9aflvw876a8vldmqjhs5l6ixfcwgacxz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cov-mark" ,rust-cov-mark-1)
@@ -47967,6 +47967,19 @@ (define-public rust-nucleo-matcher-0.2
"This package provides plug and play high performance fuzzy matcher.")
(license license:mpl2.0)))
+(define-public rust-nucleo-matcher-0.2
+ (package
+ (inherit rust-nucleo-matcher-0.3)
+ (name "rust-nucleo-matcher")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nucleo-matcher" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mxxz58acszkgxha4wy459fkcx6f8sh55d803wnid1p25x02nw0v"))))))
+
(define-public rust-num-0.4
(package
(name "rust-num")
--
2.48.1
A
A
Alex Bosco wrote on 8 Mar 05:16 -0800
[PATCH 5/7] gnu: Add rust-ansi-to-html-0.2.
(address . 76854@debbugs.gnu.org)(name . Alex Bosco)(address . me@alexbos.co)
7de1d46a02191f8cdc337f1a5dc866905d527a02.1741388878.git.me@alexbos.co
Change-Id: Ib27771b495d185d2fb67280ee5d10bb70acfb510
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 364957b199..8027dfeb21 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1806,8 +1806,33 @@ (define-public rust-ansi-str-0.8
with ANSI strings.")
(license license:expat)))
+(define-public rust-ansi-to-html-0.2
+ (package
+ (name "rust-ansi-to-html")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ansi-to-html" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r07skcd0rp4fwww66hn2sal4f7p4nhq2zjpk7pkamr8zjj87qhj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-regex" ,rust-regex-1))
+ #:cargo-development-inputs (("rust-divan" ,rust-divan-0.1)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-insta" ,rust-insta-1))))
+ (home-page
+ "https://github.com/Aloso/to-html/tree/master/crates/ansi-to-html")
+ (synopsis "ANSI escape codes to HTML converter")
+ (description
+ "This package provides an ANSI escape codes to HTML converter.")
+ (license license:expat)))
+
(define-public rust-ansi-to-html-0.1
(package
+ (inherit rust-ansi-to-html-0.2)
(name "rust-ansi-to-html")
(version "0.1.3")
(source
@@ -1817,17 +1842,11 @@ (define-public rust-ansi-to-html-0.1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "18kwlgr3vfsij8gvl7vxw11yl628b1s8z2pldh73z4zzq2693gf7"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)
("rust-regex" ,rust-regex-1)
("rust-thiserror" ,rust-thiserror-1))
- #:cargo-development-inputs (("rust-insta" ,rust-insta-1))))
- (home-page
- "https://github.com/Aloso/to-html/tree/master/crates/ansi-to-html")
- (synopsis "ANSI escape codes to HTML converter")
- (description "This package provides an ANSI escape codes to HTML converter.")
- (license license:expat)))
+ #:cargo-development-inputs (("rust-insta" ,rust-insta-1))))))
(define-public rust-ansi-width-0.1
(package
--
2.48.1
A
A
Alex Bosco wrote on 8 Mar 05:16 -0800
[PATCH 4/7] gnu: Add rust-nucleo-0.5.
(address . 76854@debbugs.gnu.org)(name . Alex Bosco)(address . me@alexbos.co)
91bcf3ae1ff751af6ee6b755b4c4884d9190f776.1741388878.git.me@alexbos.co
Change-Id: I383c8c5ee7ca72f762a5bde9af9691fc5032835b
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)

Toggle diff (55 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e5d63f534..364957b199 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47922,20 +47922,20 @@ (define-public rust-ntex-bytes-0.1
(description "Types and traits for working with bytes (bytes crate fork)")
(license license:expat)))
-(define-public rust-nucleo-0.2
+(define-public rust-nucleo-0.5
(package
(name "rust-nucleo")
- (version "0.2.1")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "nucleo" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1wzx32bz4n68dcd3yw57195sz49hdhv9b75jikr5qiyfpks32lxf"))))
+ (base32 "1m1rq0cp02hk31z7jsn2inqcpy9a1j8gfvxcqm32c74jji6ayqjj"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-nucleo-matcher" ,rust-nucleo-matcher-0.2)
+ `(#:cargo-inputs (("rust-nucleo-matcher" ,rust-nucleo-matcher-0.3)
("rust-parking-lot" ,rust-parking-lot-0.12)
("rust-rayon" ,rust-rayon-1))))
(home-page "https://github.com/helix-editor/nucleo")
@@ -47944,6 +47944,23 @@ (define-public rust-nucleo-0.2
"This package provides plug and play high performance fuzzy matcher.")
(license license:mpl2.0)))
+(define-public rust-nucleo-0.2
+ (package
+ (inherit rust-nucleo-0.5)
+ (name "rust-nucleo")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nucleo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wzx32bz4n68dcd3yw57195sz49hdhv9b75jikr5qiyfpks32lxf"))))
+ (arguments
+ `(#:cargo-inputs (("rust-nucleo-matcher" ,rust-nucleo-matcher-0.2)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-rayon" ,rust-rayon-1))))))
+
(define-public rust-nucleo-matcher-0.3
(package
(name "rust-nucleo-matcher")
--
2.48.1
A
A
Alex Bosco wrote on 8 Mar 05:16 -0800
[PATCH 6/7] gnu: Add rust-error-stack-0.5.
(address . 76854@debbugs.gnu.org)(name . Alex Bosco)(address . me@alexbos.co)
72b3ea3ba759340cad2dda6bd6cc55ae296f48fa.1741388878.git.me@alexbos.co
Change-Id: I880c83c5810da9c9140d408e7334bac49361f65a
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)

Toggle diff (64 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8027dfeb21..0bc1b68ed5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50,6 +50,7 @@
;;; Copyright © 2025 Divya Ranjan Pattanaik <divya@subvertising.org>
;;; Copyright © 2025 Karl Hallsby <karl@hallsby.com>
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
+;;; Copyright © 2025 Alex Bosco <me@alexbos.co>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24318,6 +24319,49 @@ (define-public rust-error-code-2
(("rust-libc" ,rust-libc-0.2)
("rust-str-buf" ,rust-str-buf-1))))))
+(define-public rust-error-stack-0.5
+ (package
+ (name "rust-error-stack")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "error-stack" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lf5zy1fjjqdwjkc445sw80hpmxi63ymcxgjh3q6642x2hck6hgy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ;Tests expect entry point at parent repo (hash), not at subrepo (hash/libs/error-stack)
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-eyre" ,rust-eyre-0.6)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-spin" ,rust-spin-0.9)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-error" ,rust-tracing-error-0.2))
+ #:cargo-development-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-ansi-to-html" ,rust-ansi-to-html-0.2)
+ ("rust-expect-test" ,rust-expect-test-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-insta" ,rust-insta-1)
+ ("rust-owo-colors" ,rust-owo-colors-4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-supports-color" ,rust-supports-color-3)
+ ("rust-supports-unicode" ,rust-supports-unicode-3)
+ ("rust-thiserror" ,rust-thiserror-2)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/hashintel/hash/tree/main/libs/error-stack")
+ (synopsis
+ "A context-aware error-handling library that supports arbitrary attached user data")
+ (description
+ "This package provides a context-aware error-handling library that supports arbitrary attached user data.")
+ (license license:expat)))
+
(define-public rust-escape8259-0.5
(package
(name "rust-escape8259")
--
2.48.1
A
A
Alex Bosco wrote on 8 Mar 05:16 -0800
[PATCH 7/7] gnu: Add tmux-plugin-sessionizer.
(address . 76854@debbugs.gnu.org)(name . Alex Bosco)(address . me@alexbos.co)
4b0cd4b6ca44c6750ac072e944892d993b0e14bd.1741388878.git.me@alexbos.co
Change-Id: Icebdbb52996512947af9141df35529e376091165
---
gnu/packages/tmux.scm | 59 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 58 insertions(+), 1 deletion(-)

Toggle diff (98 lines)
diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index ebd957c4ee..df2137af60 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2025 Alex Bosco <me@alexbos.co>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +30,7 @@
(define-module (gnu packages tmux)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -36,7 +38,11 @@ (define-module (gnu packages tmux)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (guix build-system python)
+ #:use-module (guix build-system cargo)
#:use-module (gnu packages)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages ssh)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
@@ -46,7 +52,9 @@ (define-module (gnu packages tmux)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python-xyz)
- #:use-module (gnu packages sphinx))
+ #:use-module (gnu packages sphinx)
+ #:use-module (gnu packages crates-io)
+ #:use-module (gnu packages crates-vcs))
(define-public tmux
(package
@@ -395,3 +403,52 @@ (define-public tmux-plugin-mem-cpu-load
The system load average is also displayed.")
(home-page "https://github.com/thewtex/tmux-mem-cpu-load")
(license license:asl2.0)))
+
+(define-public tmux-plugin-sessionizer
+ (package
+ (name "tmux-plugin-sessionizer")
+ (version "0.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tmux-sessionizer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fwdc8jyx9fab442c6zsl3yn8nh1s5h35g97cgqhyp3blxl6h9ix"))
+ (snippet #~(begin
+ (use-modules (guix build utils))
+ (substitute* "Cargo.toml"
+ (("\"vendored-openssl\"")
+ ""))))))
+ (build-system cargo-build-system)
+ (native-inputs (list pkg-config))
+ (inputs (list openssl libgit2-1.8 libssh2))
+ (arguments
+ `(#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-clap-complete" ,rust-clap-complete-4)
+ ("rust-config" ,rust-config-0.14)
+ ("rust-crossterm" ,rust-crossterm-0.28)
+ ("rust-dirs" ,rust-dirs-5)
+ ("rust-error-stack" ,rust-error-stack-0.5)
+ ("rust-git2" ,rust-git2-0.19)
+ ("rust-nucleo" ,rust-nucleo-0.5)
+ ("rust-ratatui" ,rust-ratatui-0.28)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-shell-words" ,rust-shell-words-1)
+ ("rust-shellexpand" ,rust-shellexpand-3)
+ ("rust-toml" ,rust-toml-0.8))
+ #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-assert-cmd" ,rust-assert-cmd-2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-predicates" ,rust-predicates-3)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/jrmoulton/tmux-sessionizer")
+ (synopsis "Fuzzy find git repositories and open them as new tmux sessions")
+ (description
+ "This package provides Tmux Sessionizer is a cli tool to fuzzy find all git repositories in a list of
+specified folders and open them as a new tmux session. Also, for git worktrees,
+this tool opens all checked out worktrees as new windows.")
+ (license license:expat)))
--
2.48.1
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 76854@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 76854
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch