diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-12-03 16:13:38 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-12-03 16:13:38 +0000 |
commit | c4eae1d75e1f3a1c73848a3e6e0351028a481b30 (patch) | |
tree | 4c14924e8c825068bfafe95946f1664e8e58b1f7 /pkgs/misc | |
parent | 9eafc501b3c4294d23c137bf615fee28c3045d4e (diff) |
tmuxPlugins.copy-toolkit: init at 1.1
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/tmux-plugins/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index f2dad88128744..a69dccdaf9af6 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -119,6 +119,29 @@ in rec { }; }; + copy-toolkit = mkTmuxPlugin rec { + pluginName = "copy-toolkit"; + rtpFilePath = "copytk.tmux"; + version = "1.1"; + src = fetchFromGitHub { + owner = "CrispyConductor"; + repo = "tmux-copy-toolkit"; + rev = "v${version}"; + sha256 = "MEMC9klm+PH66UHwrB2SqdCaZX0LAujL+Woo/hV84m4="; + }; + postInstall = '' + sed -i -e 's|python3 |${pkgs.python3}/bin/python3 |g' $target/copytk.tmux + sed -i -e 's|/bin/bash|${pkgs.bash}/bin/bash|g;s|/bin/cat|${pkgs.coreutils}/bin/cat|g' $target/copytk.py + ''; + meta = { + homepage = "https://github.com/CrispyConductor/tmux-copy-toolkit"; + description = "Various copy-mode tools"; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ deejayem ]; + }; + }; + copycat = mkTmuxPlugin { pluginName = "copycat"; version = "unstable-2020-01-09"; |