Merge pull request #168872 from sei40kr/init-zi

zi: init at unstable-2022-04-09
This commit is contained in:
Jonas Heinrich 2022-09-05 10:52:02 +02:00 committed by GitHub
commit 76e3488398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib, fetchFromGitHub, installShellFiles, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "zi";
version = "unstable-2022-04-09";
src = fetchFromGitHub {
owner = "z-shell";
repo = pname;
rev = "4ca4d3276ca816c3d37a31e47d754f9a732c40b9";
sha256 = "sha256-KcDFT0is5Ef/zRo6zVfxYfBMOb5oVaVFT4EsUrfiMko=";
};
dontBuild = true;
nativeBuildInputs = [ installShellFiles ];
installPhase = ''
mkdir -p $out
cp -r lib zi.zsh $out
installManPage docs/man/zi.1
installShellCompletion --zsh lib/_zi
'';
meta = with lib; {
homepage = "https://github.com/z-shell/zi";
description = "A Swiss Army Knife for Zsh - Unix Shell";
license = licenses.mit;
maintainers = with maintainers; [ sei40kr ];
};
}

View File

@ -12641,6 +12641,8 @@ with pkgs;
zplug = callPackage ../shells/zsh/zplug { };
zi = callPackage ../shells/zsh/zi {};
zinit = callPackage ../shells/zsh/zinit {} ;
zint = qt6Packages.callPackage ../development/libraries/zint { };