tmuxPlugins = {tmux-sm, t-smart-tmux-session-manager}: init at 0-unstable-2026-05-14 (#520073)

This commit is contained in:
Sandro
2026-05-21 20:22:07 +00:00
committed by GitHub

View File

@@ -1064,6 +1064,49 @@ in
};
};
tmux-sm = mkTmuxPlugin {
pluginName = "tmux-sm";
version = "0-unstable-2026-05-14";
src = fetchFromGitHub {
owner = "vimlinuz";
repo = "tmux-sm";
rev = "97d411a11d124443c982d17fde03c1e09809d7b1";
hash = "sha256-7HW/TLP/yyQp4j0/utA0tibTv+suV1B2K56pUS3Z004=";
};
nativeBuildInputs = [ pkgs.makeWrapper ];
rtpFilePath = "main.tmux";
postInstall = ''
chmod +x $target/scripts/session-manager
wrapProgram $target/scripts/session-manager \
--prefix PATH : ${
with pkgs;
lib.makeBinPath [
fzf
gawk
coreutils
]
}
chmod +x $target/scripts/sessionizer
wrapProgram $target/scripts/sessionizer \
--prefix PATH : ${
with pkgs;
lib.makeBinPath [
fzf
tree
findutils
coreutils
]
}
'';
meta = {
homepage = "https://github.com/vimlinuz/tmux-sm";
description = "Fuzzy terminal popup to manage tmux sessions using `fzf`";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ vimlinuz ];
};
};
tmux-thumbs = pkgs.callPackage ./tmux-thumbs {
inherit mkTmuxPlugin;
};
@@ -1080,7 +1123,7 @@ in
};
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''
wrapProgram $out/share/tmux-plugins/t-smart-tmux-session-manager/bin/t \
wrapProgram $target/bin/t \
--prefix PATH : ${
lib.makeBinPath [