diff options
author | Raimon Grau <raimonster@gmail.com> | 2021-04-04 21:40:49 +0100 |
---|---|---|
committer | Raimon Grau <raimonster@gmail.com> | 2021-04-04 22:23:01 +0100 |
commit | 6dbc1508ff6705750eff0a8d943694e2cdada09e (patch) | |
tree | 34c5bae5eb9635fad878a4255e0f040c260aecd0 /pkgs/misc/tmux-plugins | |
parent | e9e02171f7fb96b2af8618241b82abdefc3a17c2 (diff) |
tmuxPlugins.extrakto: init at unstable-2021-04-04
Diffstat (limited to 'pkgs/misc/tmux-plugins')
-rw-r--r-- | pkgs/misc/tmux-plugins/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index 84315e7e50b43..d8ab3dcc5c6f3 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -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"; |