mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
zsh-autocomplete: 26.08.03 -> 26.08.04
Assisted-by: Codex (OpenAI GPT-5)
This commit is contained in:
@@ -2,26 +2,45 @@
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
zsh,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "zsh-autocomplete";
|
||||
version = "26.08.03";
|
||||
version = "26.08.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marlonrichert";
|
||||
repo = "zsh-autocomplete";
|
||||
rev = version;
|
||||
sha256 = "sha256-NZLlRJZobUj3W94mRG245lGqDb1hE9x0nC9tRx58+Js=";
|
||||
sha256 = "sha256-aba38Cmnps2n6Tr/1i3BjPZ4TbQPsDBURXF1fcd8cDI=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeInstallCheckInputs = [ zsh ];
|
||||
|
||||
installPhase = ''
|
||||
install -D zsh-autocomplete.plugin.zsh $out/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||
install -D z-async/z-async $out/share/zsh-autocomplete/z-async/z-async
|
||||
cp -R Completions $out/share/zsh-autocomplete/Completions
|
||||
cp -R Functions $out/share/zsh-autocomplete/Functions
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
||||
zsh -f -c '
|
||||
fpath=( "$out/share/zsh-autocomplete/z-async" )
|
||||
autoload -Uz z-async
|
||||
z-async help >/dev/null
|
||||
'
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion";
|
||||
homepage = "https://github.com/marlonrichert/zsh-autocomplete/";
|
||||
|
||||
Reference in New Issue
Block a user