forked from mirrors/nixpkgs
Merge pull request #95275 from KyleOndy/add_tmux_plugin_fzf
tmuxPlugins.tmux-fzf: init at unstable-2020-11-12
This commit is contained in:
commit
aeadbb8625
|
@ -4823,6 +4823,12 @@
|
|||
githubId = 2422454;
|
||||
name = "Kai Wohlfahrt";
|
||||
};
|
||||
kyleondy = {
|
||||
email = "kyle@ondy.org";
|
||||
github = "kyleondy";
|
||||
githubId = 1640900;
|
||||
name = "Kyle Ondy";
|
||||
};
|
||||
kylesferrazza = {
|
||||
name = "Kyle Sferrazza";
|
||||
email = "kyle.sferrazza@gmail.com";
|
||||
|
|
|
@ -445,6 +445,41 @@ in rec {
|
|||
};
|
||||
};
|
||||
|
||||
tmux-fzf = mkDerivation {
|
||||
pluginName = "tmux-fzf";
|
||||
version = "unstable-2020-11-23";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sainnhe";
|
||||
repo = "tmux-fzf";
|
||||
rev = "312685b2a7747b61f1f4a96bd807819f1450479d";
|
||||
sha256 = "1z0zmsf8asxs9wbwvkiyd81h93wb2ikl8nxxc26sdpi6l333q5s9";
|
||||
};
|
||||
postInstall = ''
|
||||
find $target -type f -print0 | xargs -0 sed -i -e 's|fzf |${pkgs.fzf}/bin/fzf |g'
|
||||
find $target -type f -print0 | xargs -0 sed -i -e 's|sed |${pkgs.gnused}/bin/sed |g'
|
||||
find $target -type f -print0 | xargs -0 sed -i -e 's|tput |${pkgs.ncurses}/bin/tput |g'
|
||||
'';
|
||||
meta = {
|
||||
homepage = "https://github.com/sainnhe/tmux-fzf";
|
||||
description = "Use fzf to manage your tmux work environment! ";
|
||||
longDescription =
|
||||
''
|
||||
Features:
|
||||
* Manage sessions (attach, detach*, rename, kill*).
|
||||
* Manage windows (switch, link, move, swap, rename, kill*).
|
||||
* Manage panes (switch, break, join*, swap, layout, kill*, resize).
|
||||
* Multiple selection (support for actions marked by *).
|
||||
* Search commands and append to command prompt.
|
||||
* Search key bindings and execute.
|
||||
* User menu.
|
||||
* Popup window support.
|
||||
'';
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ kyleondy ];
|
||||
};
|
||||
};
|
||||
|
||||
urlview = mkDerivation {
|
||||
pluginName = "urlview";
|
||||
version = "unstable-2016-01-06";
|
||||
|
|
Loading…
Reference in a new issue