3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #204779 from deejayem/add-tmux-fuzzback

This commit is contained in:
Sandro 2022-12-14 23:40:22 +01:00 committed by GitHub
commit 16d93e6918
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";