tmuxPlugins.extrakto: init at unstable-2021-04-04
This commit is contained in:
parent
e9e02171f7
commit
6dbc1508ff
@ -143,6 +143,34 @@ in rec {
|
||||
};
|
||||
};
|
||||
|
||||
extrakto = mkTmuxPlugin {
|
||||
pluginName = "extrakto";
|
||||
version = "unstable-2021-04-04";
|
||||
src = fetchFromGitHub {
|
||||
owner = "laktak";
|
||||
repo = "extrakto";
|
||||
rev = "de8ac3e8a9fa887382649784ed8cae81f5757f77";
|
||||
sha256 = "0mkp9r6mipdm7408w7ls1vfn6i3hj19nmir2bvfcp12b69zlzc47";
|
||||
};
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
for f in extrakto.sh open.sh tmux-extrakto.sh; do
|
||||
wrapProgram $target/scripts/$f \
|
||||
--prefix PATH : ${with pkgs; lib.makeBinPath (
|
||||
[ pkgs.fzf pkgs.python3 pkgs.xclip ]
|
||||
)}
|
||||
done
|
||||
|
||||
'';
|
||||
meta = {
|
||||
homepage = "https://github.com/laktak/extrakto";
|
||||
description = "Fuzzy find your text with fzf instead of selecting it by hand ";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ kidd ];
|
||||
};
|
||||
};
|
||||
|
||||
fingers = mkTmuxPlugin rec {
|
||||
pluginName = "fingers";
|
||||
rtpFilePath = "tmux-fingers.tmux";
|
||||
|
Loading…
Reference in New Issue
Block a user