depot/third_party/nixpkgs/pkgs/shells/zsh/zi/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

30 lines
760 B
Nix

{ 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 ];
};
}