nixpkgs/pkgs/shells/zsh/zsh-completions/default.nix

27 lines
661 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
pname = "zsh-completions";
version = "0.30.0";
src = fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-completions";
2019-09-09 01:38:31 +02:00
rev = version;
sha256 = "1yf4rz99acdsiy0y1v3bm65xvs2m0sl92ysz0rnnrlbd5amn283l";
};
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 = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.olejorgenb ];
};
}