Merge pull request #111295 from pasqui23/zinit

authored by

Sandro and committed by
GitHub
93498b15 01113467

+11 -7
+8 -6
pkgs/shells/zsh/zplugin/default.nix pkgs/shells/zsh/zinit/default.nix
··· 1 1 { stdenvNoCC, lib, fetchFromGitHub, installShellFiles }: 2 + 2 3 stdenvNoCC.mkDerivation rec { 3 - pname = "zplugin"; 4 - version = "2.3"; 4 + pname = "zinit"; 5 + version = "3.7"; 5 6 src = fetchFromGitHub { 6 7 owner = "zdharma"; 7 8 repo = pname; 8 9 rev = "v${version}"; 9 - sha256 = "0qqv5p19s8jb06d6h55dm4acji9x2rpxb2ni3h7fb0q43iz6y85w"; 10 + hash = "sha256-B+cTGz+U8MR22l6xXdRAAjDr+ulCk+CJ9GllFMK0axE="; 10 11 }; 11 12 # adapted from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zsh-zplugin-git 12 13 dontBuild = true; ··· 18 19 19 20 # Zplugin's source files 20 21 install -dm0755 "$outdir" 21 - install -m0644 zplugin{,-side,-install,-autoload}.zsh "$outdir" 22 + # Installing also backward compatibility layer 23 + install -m0644 z{plugin,init}{,-side,-install,-autoload}.zsh "$outdir" 22 24 install -m0755 git-process-output.zsh "$outdir" 23 25 24 26 # Zplugin autocompletion 25 - installShellCompletion --zsh _zplugin 27 + installShellCompletion --zsh _zinit 26 28 27 29 #TODO:Zplugin-module files 28 30 # find zmodules/ -type d -exec install -dm 755 "{}" "$outdir/{}" \; ··· 32 34 #TODO:doc output 33 35 34 36 meta = with lib; { 35 - homepage = "https://github.com/zdharma/zplugin"; 37 + homepage = "https://github.com/zdharma/zinit"; 36 38 description = "Flexible zsh plugin manager"; 37 39 license = licenses.mit; 38 40 maintainers = with maintainers; [ pasqui23 ];
+2
pkgs/top-level/aliases.nix
··· 848 848 /* Added 2021-01-02 */ 849 849 ttyrec = ovh-ttyrec; 850 850 851 + zplugin = zinit; # Added 2021-01-30 852 + 851 853 /* If these are in the scope of all-packages.nix, they cause collisions 852 854 between mixed versions of qt. See: 853 855 https://github.com/NixOS/nixpkgs/pull/101369 */
+1 -1
pkgs/top-level/all-packages.nix
··· 9237 9237 9238 9238 zplug = callPackage ../shells/zsh/zplug { }; 9239 9239 9240 - zplugin = callPackage ../shells/zsh/zplugin {} ; 9240 + zinit = callPackage ../shells/zsh/zinit {} ; 9241 9241 9242 9242 zsh-autoenv = callPackage ../tools/misc/zsh-autoenv { }; 9243 9243