forked from mirrors/nixpkgs
Merge pull request #204779 from deejayem/add-tmux-fuzzback
This commit is contained in:
commit
16d93e6918
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue