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

27 lines
649 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
pname = "zsh-completions";
2019-09-21 00:16:43 +01:00
version = "0.31.0";
src = fetchFromGitHub {
owner = "zsh-users";
2019-09-21 00:16:43 +01:00
repo = pname;
2019-09-09 00:38:31 +01:00
rev = version;
2019-09-21 00:16:43 +01:00
sha256 = "0rw23m8cqxhcb4yjhbzb9lir60zn1xjy7hn3zv1fzz700f0i6fyk";
};
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 ];
};
}