aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/misc/tmux-plugins/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/misc/tmux-plugins/default.nix')
-rw-r--r--nixpkgs/pkgs/misc/tmux-plugins/default.nix25
1 files changed, 24 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/misc/tmux-plugins/default.nix b/nixpkgs/pkgs/misc/tmux-plugins/default.nix
index 0fa80322d7b..4b93ec8dff9 100644
--- a/nixpkgs/pkgs/misc/tmux-plugins/default.nix
+++ b/nixpkgs/pkgs/misc/tmux-plugins/default.nix
@@ -25,7 +25,7 @@ let
addonInfo ? null,
preInstall ? "",
postInstall ? "",
- path ? (builtins.parseDrvName pluginName).name,
+ path ? lib.getName pluginName,
dependencies ? [],
...
}:
@@ -123,6 +123,16 @@ in rec {
};
};
+ gruvbox = mkDerivation {
+ pluginName = "gruvbox";
+ rtpFilePath = "gruvbox-tpm.tmux";
+ src = fetchgit {
+ url = "https://github.com/egel/tmux-gruvbox";
+ rev = "6149fd8b5d6924925b4d5aa6935039780e94f3d6";
+ sha256 = "1ykr4yardavd0x7yfrnshd4b0gi8p31pji7i79ib0nss134zncpb";
+ };
+ };
+
logging = mkDerivation {
pluginName = "logging";
src = fetchgit {
@@ -177,6 +187,19 @@ in rec {
};
};
+ plumb = mkDerivation {
+ pluginName = "plumb";
+ src = fetchFromGitHub {
+ owner = "eraserhd";
+ repo = "tmux-plumb";
+ rev = "v0.1.1";
+ sha256 = "1c6k4fdl0az9811r6k164mgd4w5la75xr6x7nabmy046xc0z5i2r";
+ };
+ postInstall = ''
+ sed -i -e 's,9 plumb,${pkgs.plan9port}/bin/9 plumb,' $target/scripts/plumb
+ '';
+ };
+
prefix-highlight = mkDerivation {
pluginName = "prefix-highlight";
src = fetchgit {