tmuxPlugins.copy-toolkit 1.1 -> 2021-12-20
This commit is contained in:
parent
5b5931f371
commit
a195fa23fd
@ -140,26 +140,26 @@ in rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
copy-toolkit = mkTmuxPlugin rec {
|
copy-toolkit = mkTmuxPlugin {
|
||||||
pluginName = "copy-toolkit";
|
pluginName = "copy-toolkit";
|
||||||
rtpFilePath = "copytk.tmux";
|
rtpFilePath = "copytk.tmux";
|
||||||
version = "1.1";
|
version = "2021-12-20";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "CrispyConductor";
|
owner = "CrispyConductor";
|
||||||
repo = "tmux-copy-toolkit";
|
repo = "tmux-copy-toolkit";
|
||||||
rev = "v${version}";
|
rev = "c80c2c068059fe04f840ea9f125c21b83cb6f81f";
|
||||||
sha256 = "MEMC9klm+PH66UHwrB2SqdCaZX0LAujL+Woo/hV84m4=";
|
hash = "sha256-cLeOoJ+4MF8lSpwy5lkcPakvB3cpgey0RfLbVTwERNk=";
|
||||||
};
|
};
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -i -e 's|python3 |${pkgs.python3}/bin/python3 |g' $target/copytk.tmux
|
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
|
sed -i -e 's|python3|${pkgs.python3}/bin/python3|g;s|/bin/bash|${pkgs.bash}/bin/bash|g;s|/bin/cat|${pkgs.coreutils}/bin/cat|g' $target/copytk.py
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/CrispyConductor/tmux-copy-toolkit";
|
homepage = "https://github.com/CrispyConductor/tmux-copy-toolkit";
|
||||||
description = "Various copy-mode tools";
|
description = "Various copy-mode tools";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
maintainers = with lib.maintainers; [ deejayem ];
|
maintainers = with lib.maintainers; [ deejayem sedlund ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user