depot/third_party/nixpkgs/pkgs/shells/zsh/zsh-completions/default.nix
Default email 18bad4282a Project import generated by Copybara.
GitOrigin-RevId: 1c2986bbb806c57f9470bf3231d8da7250ab9091
2021-06-01 12:57:12 +02:00

26 lines
635 B
Nix

{ lib, stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
pname = "zsh-completions";
version = "0.33.0";
src = fetchFromGitHub {
owner = "zsh-users";
repo = pname;
rev = version;
sha256 = "0vs14n29wvkai84fvz3dz2kqznwsq2i5fzbwpv8nsfk1126ql13i";
};
installPhase= ''
install -D --target-directory=$out/share/zsh/site-functions src/*
'';
meta = {
description = "Additional completion definitions for zsh";
homepage = "https://github.com/zsh-users/zsh-completions";
license = lib.licenses.free;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.olejorgenb ];
};
}