zinit: 3.7 -> 3.11.0

This commit is contained in:
MGlolenstine 2023-05-30 06:26:30 +02:00
parent d746b4e460
commit 8e82668efc

View file

@ -2,12 +2,12 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "zinit"; pname = "zinit";
version = "3.7"; version = "3.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zdharma-continuum"; owner = "zdharma-continuum";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-B+cTGz+U8MR22l6xXdRAAjDr+ulCk+CJ9GllFMK0axE="; hash = "sha256-Gps7s26qqEjQPDhhSJr9u5SuRNRJnmayKfw45Ygjcd8=";
}; };
# adapted from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zsh-zplugin-git # adapted from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zsh-zplugin-git
dontBuild = true; dontBuild = true;
@ -20,9 +20,9 @@ stdenvNoCC.mkDerivation rec {
# Zplugin's source files # Zplugin's source files
install -dm0755 "$outdir" install -dm0755 "$outdir"
# Installing also backward compatibility layer # Installing backward compatibility layer
install -m0644 z{plugin,init}{,-side,-install,-autoload}.zsh "$outdir" install -m0644 zinit{,-side,-install,-autoload}.zsh "$outdir"
install -m0755 git-process-output.zsh "$outdir" install -m0755 share/git-process-output.zsh "$outdir"
# Zplugin autocompletion # Zplugin autocompletion
installShellCompletion --zsh _zinit installShellCompletion --zsh _zinit