diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-04 19:50:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 19:50:16 +0100 |
commit | ecebb7d25f7ab2326e2e220c541da0b551a9b091 (patch) | |
tree | 65dd27dba92c62f6840b8aa56c377a25cd8e6a8d /pkgs/misc | |
parent | dde81d652f21d9687a659943753956558333ea6b (diff) | |
parent | c4eae1d75e1f3a1c73848a3e6e0351028a481b30 (diff) |
Merge pull request #204312 from deejayem/add-tmux-copy-toolkit
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"; |