From d1e1404d547b80e6b66de0d96c436fa4405db3f7 Mon Sep 17 00:00:00 2001 From: Justin Restivo Date: Sat, 20 Dec 2025 18:19:19 -0500 Subject: [PATCH] tmuxPlugins.search-panes: init at 0-unstable-2025-07-27 --- pkgs/misc/tmux-plugins/default.nix | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index 2415eba2774f..28c809ed996d 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -770,6 +770,42 @@ in }; }; + search-panes = mkTmuxPlugin { + pluginName = "search-panes"; + version = "0-unstable-2025-07-27"; + src = fetchFromGitHub { + owner = "multi-io"; + repo = "tmux-search-panes"; + rev = "3996b5c56c6be69d3a85ef26065b1877d9ac71c6"; + hash = "sha256-Z9Gu4v2LAyG6UxXVLTvQUz1wU4PaJlBQXjLiSzfSP7s="; + }; + rtpFilePath = "tmux-search-panes.tmux"; + nativeBuildInputs = [ pkgs.makeWrapper ]; + postInstall = '' + for f in search-panes.sh _fzf-and-switch.sh _render-preview.sh; do + chmod +x $target/bin/$f + wrapProgram $target/bin/$f \ + --prefix PATH : ${ + with pkgs; + lib.makeBinPath [ + coreutils + fzf + gnugrep + gnused + tmux + ] + } + done + ''; + meta = { + homepage = "https://github.com/multi-io/tmux-search-panes"; + description = "Tmux plugin that allows you to perform a fulltext search"; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = [ lib.maintainers.DieracDelta ]; + }; + }; + sensible = mkTmuxPlugin { pluginName = "sensible"; version = "unstable-2022-08-14";