tmuxPlugins.extrakto: unstable-2021-04-04 -> 0-unstable-2024-08-25 (#338786)

This commit is contained in:
Franz Pletz 2024-10-10 21:43:48 +02:00 committed by GitHub
commit c636130b36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -216,22 +216,22 @@ in rec {
extrakto = mkTmuxPlugin {
pluginName = "extrakto";
version = "unstable-2021-04-04";
version = "0-unstable-2024-08-25";
src = fetchFromGitHub {
owner = "laktak";
repo = "extrakto";
rev = "de8ac3e8a9fa887382649784ed8cae81f5757f77";
sha256 = "0mkp9r6mipdm7408w7ls1vfn6i3hj19nmir2bvfcp12b69zlzc47";
rev = "bf9e666f2a6a8172ebe99fff61b574ba740cffc2";
sha256 = "sha256-kIhJKgo1BDTeFyAPa//f/TrhPfV9Rfk9y4qMhIpCydk=";
};
nativeBuildInputs = [ pkgs.makeWrapper ];
buildInputs = [ pkgs.python3 ];
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
patchShebangs extrakto.py extrakto_plugin.py
wrapProgram $target/scripts/open.sh \
--prefix PATH : ${ with pkgs; lib.makeBinPath
[ fzf xclip wl-clipboard ]
}
'';
meta = {
homepage = "https://github.com/laktak/extrakto";