tmuxPlugins.fuzzback: init at unstable-2022-11-21

This commit is contained in:
David Morgan 2022-12-06 12:53:07 +00:00
parent aaf07b0e00
commit 3bd200b2aa
No known key found for this signature in database
GPG Key ID: C171251002C200F2

View File

@ -257,6 +257,32 @@ in rec {
'';
};
fuzzback = mkTmuxPlugin {
pluginName = "fuzzback";
version = "unstable-2022-11-21";
src = fetchFromGitHub {
owner = "roosta";
repo = "tmux-fuzzback";
rev = "bfd9cf0ef1c35488f0080f0c5ca4fddfdd7e18ec";
sha256 = "w788xDBkfiLdUVv1oJi0YikFPqVk6LiN6PDfHu8on5E=";
};
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''
for f in fuzzback.sh preview.sh supported.sh; do
chmod +x $target/scripts/$f
wrapProgram $target/scripts/$f \
--prefix PATH : ${with pkgs; lib.makeBinPath [ coreutils fzf gawk gnused ]}
done
'';
meta = {
homepage = "https://github.com/roosta/tmux-fuzzback";
description = "Fuzzy search for terminal scrollback";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ deejayem ];
};
};
fzf-tmux-url = mkTmuxPlugin {
pluginName = "fzf-tmux-url";
rtpFilePath = "fzf-url.tmux";