Merge pull request #113726 from kidd/add-extrakto
This commit is contained in:
commit
41bc3d5bd4
2 changed files with 34 additions and 0 deletions
|
@ -5006,6 +5006,12 @@
|
|||
githubId = 16481032;
|
||||
name = "Kiba Fox";
|
||||
};
|
||||
kidd = {
|
||||
email = "raimonster@gmail.com";
|
||||
github = "kidd";
|
||||
githubId = 25607;
|
||||
name = "Raimon Grau";
|
||||
};
|
||||
kierdavis = {
|
||||
email = "kierdavis@gmail.com";
|
||||
github = "kierdavis";
|
||||
|
|
|
@ -143,6 +143,34 @@ in rec {
|
|||
};
|
||||
};
|
||||
|
||||
extrakto = mkTmuxPlugin {
|
||||
pluginName = "extrakto";
|
||||
version = "unstable-2021-04-04";
|
||||
src = fetchFromGitHub {
|
||||
owner = "laktak";
|
||||
repo = "extrakto";
|
||||
rev = "de8ac3e8a9fa887382649784ed8cae81f5757f77";
|
||||
sha256 = "0mkp9r6mipdm7408w7ls1vfn6i3hj19nmir2bvfcp12b69zlzc47";
|
||||
};
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
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
|
||||
|
||||
'';
|
||||
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 ];
|
||||
};
|
||||
};
|
||||
|
||||
fingers = mkTmuxPlugin rec {
|
||||
pluginName = "fingers";
|
||||
rtpFilePath = "tmux-fingers.tmux";
|
||||
|
|
Loading…
Reference in a new issue