diff options
Diffstat (limited to 'pkgs/misc/tmux-plugins')
-rw-r--r-- | pkgs/misc/tmux-plugins/default.nix | 49 |
1 files changed, 33 insertions, 16 deletions
diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index 046ee132bbbb..0d3a954b9b43 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -88,9 +88,9 @@ in rec { computer or server restarts, if the machine is on, tmux will be there how you left it off the last time it was used. ''; - license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.unix; - maintainers = with stdenv.lib.maintainers; [ ronanmacf ]; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ ronanmacf ]; }; }; @@ -129,14 +129,14 @@ in rec { dracula = mkDerivation rec { pluginName = "dracula"; - version = "unstable-2020-12-2"; + version = "unstable-2020-12-28"; src = fetchFromGitHub { owner = "dracula"; repo = "tmux"; - rev = "cc310e585acbeaf3304eda662476f7f657010b01"; - sha256 = "003nbv2rz2ihyqf3ryvdwn43ly0gi5z2r0pnqr9s9vw8dmwx0r3x"; + rev = "6757a5329948f00addd66b02ea94f61dd94456f5"; + sha256 = "0wwwzg3bwcrbr2nmf84prz7k4i79yq0960vs6zjp0x8nqn2fvziy"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://draculatheme.com/tmux"; description = "A feature packed Dracula theme for tmux!"; license = licenses.mit; @@ -208,8 +208,12 @@ in rec { rev = "416f613d3eaadbe1f6f9eda77c49430527ebaffb"; sha256 = "1xbzdyhsgaq2in0f8f491gwjmx6cxpkf2c35d2dk0kg4jfs505sz"; }; + postInstall = '' + sed -i -e 's|ruby|${pkgs.ruby}/bin/ruby|g' $target/scripts/tmux-jump.sh + ''; + dependencies = [ pkgs.ruby ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/schasse/tmux-jump"; description = "Vimium/Easymotion like navigation for tmux"; license = licenses.gpl3; @@ -286,6 +290,7 @@ in rec { onedark-theme = mkDerivation { pluginName = "onedark-theme"; + rtpFilePath = "tmux-onedark-theme.tmux"; version = "unstable-2020-06-07"; src = fetchFromGitHub { owner = "odedlaz"; @@ -320,6 +325,18 @@ in rec { ''; }; + power-theme = mkDerivation { + pluginName = "power"; + rtpFilePath = "tmux-power.tmux"; + version = "unstable-2020-11-18"; + src = pkgs.fetchFromGitHub { + owner = "wfxr"; + repo = "tmux-power"; + rev = "aec44aa5e00cc39eb71c668b1d73823270058e7d"; + sha256 = "11nm8cylx10d565g17acy0bj12n6dcbxp71zca2bmg0j1dq859cm"; + }; + }; + prefix-highlight = mkDerivation { pluginName = "prefix-highlight"; version = "unstable-2020-03-26"; @@ -362,9 +379,9 @@ in rec { * restoring vim and neovim sessions * restoring pane contents ''; - license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.unix; - maintainers = with stdenv.lib.maintainers; [ ronanmacf ]; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ ronanmacf ]; }; }; @@ -425,7 +442,7 @@ in rec { sha256 = "1x58h3bg9d69j40fh8rcjpxvg0i6j04pj8p3jk57l3cghxis5j05"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/jabirali/tmux-tilish"; description = "Plugin which makes tmux work and feel like i3wm"; license = licenses.mit; @@ -475,9 +492,9 @@ in rec { * User menu. * Popup window support. ''; - license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.unix; - maintainers = with stdenv.lib.maintainers; [ kyleondy ]; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ kyleondy ]; }; }; @@ -506,7 +523,7 @@ in rec { sha256 = "130l73v18md95djkc4s9d0fr018f8f183sjcgy7dgldwdaxlqdi1"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/tmux-plugins/vim-tmux-focus-events"; description = "Makes FocusGained and FocusLost autocommand events work in vim when using tmux"; license = licenses.mit; |