diff options
Diffstat (limited to 'pkgs/misc/tmux-plugins/default.nix')
-rw-r--r-- | pkgs/misc/tmux-plugins/default.nix | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index dacf6ba1ef6f..5dd73932e625 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -216,29 +216,29 @@ in rec { extrakto = mkTmuxPlugin { pluginName = "extrakto"; - version = "unstable-2021-04-04"; + version = "0-unstable-2024-08-25"; src = fetchFromGitHub { owner = "laktak"; repo = "extrakto"; - rev = "de8ac3e8a9fa887382649784ed8cae81f5757f77"; - sha256 = "0mkp9r6mipdm7408w7ls1vfn6i3hj19nmir2bvfcp12b69zlzc47"; + rev = "bf9e666f2a6a8172ebe99fff61b574ba740cffc2"; + sha256 = "sha256-kIhJKgo1BDTeFyAPa//f/TrhPfV9Rfk9y4qMhIpCydk="; }; nativeBuildInputs = [ pkgs.makeWrapper ]; + buildInputs = [ pkgs.python3 ]; 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 + patchShebangs extrakto.py extrakto_plugin.py + wrapProgram $target/scripts/open.sh \ + --prefix PATH : ${ with pkgs; lib.makeBinPath + [ fzf xclip wl-clipboard ] + } ''; 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 ]; + maintainers = with lib.maintainers; [ kidd fnune ]; }; }; @@ -378,14 +378,14 @@ in rec { }; }; - nord = mkTmuxPlugin rec { + nord = mkTmuxPlugin { pluginName = "nord"; - version = "0.3.0"; + version = "0.3.0-unstable-2023-03-03"; src = pkgs.fetchFromGitHub { owner = "nordtheme"; repo = "tmux"; - rev = "v${version}"; - hash = "sha256-s/rimJRGXzwY9zkOp9+2bAF1XCT9FcyZJ1zuHxOBsJM="; + rev = "f7b6da07ab55fe32ee5f7d62da56d8e5ac691a92"; + hash = "sha256-mcmVYNWOUoQLiu4eM/EUudRg67Gcou13xuC6zv9aMKA="; }; meta = { homepage = "https://www.nordtheme.com/ports/tmux"; @@ -399,6 +399,7 @@ in rec { theme in order to work properly. ''; license = lib.licenses.mit; + maintainers = [ lib.maintainers.sigmasquadron ]; }; }; @@ -593,7 +594,7 @@ in rec { rev = "e91b178ff832b7bcbbf4d99d9f467f63fd1b76b5"; sha256 = "1z8dfbwblrbmb8sgb0k8h1q0dvfdz7gw57las8nwd5gj6ss1jyvx"; }; - postInstall = lib.optionalString stdenv.isDarwin '' + postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' sed -e 's:reattach-to-user-namespace:${pkgs.reattach-to-user-namespace}/bin/reattach-to-user-namespace:g' -i $target/sensible.tmux ''; }; @@ -863,12 +864,12 @@ in rec { yank = mkTmuxPlugin { pluginName = "yank"; - version = "unstable-2021-06-20"; + version = "unstable-2023-07-19"; src = fetchFromGitHub { owner = "tmux-plugins"; repo = "tmux-yank"; - rev = "1b1a436e19f095ae8f825243dbe29800a8acd25c"; - sha256 = "hRvkBf+YrWycecnDixAsD4CAHg3KsioomfJ/nLl5Zgs="; + rev = "acfd36e4fcba99f8310a7dfb432111c242fe7392"; + sha256 = "sha256-/5HPaoOx2U2d8lZZJo5dKmemu6hKgHJYq23hxkddXpA="; }; }; |