Merge pull request #113726 from kidd/add-extrakto

This commit is contained in:
Sandro 2021-04-05 05:16:04 +02:00 committed by GitHub
commit 41bc3d5bd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -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";

View file

@ -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";