Merge pull request #95275 from KyleOndy/add_tmux_plugin_fzf

tmuxPlugins.tmux-fzf: init at unstable-2020-11-12
This commit is contained in:
Silvan Mosberger 2020-12-02 22:52:15 +01:00 committed by GitHub
commit aeadbb8625
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

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

View file

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