2016-06-26 22:39:18 +00:00
|
|
|
{ stdenv, fetchFromGitHub}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "zsh-completions";
|
2019-09-20 23:16:43 +00:00
|
|
|
version = "0.31.0";
|
2016-06-26 22:39:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zsh-users";
|
2019-09-20 23:16:43 +00:00
|
|
|
repo = pname;
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2019-09-20 23:16:43 +00:00
|
|
|
sha256 = "0rw23m8cqxhcb4yjhbzb9lir60zn1xjy7hn3zv1fzz700f0i6fyk";
|
2016-06-26 22:39:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase= ''
|
|
|
|
install -D --target-directory=$out/share/zsh/site-functions src/*
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Additional completion definitions for zsh";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/zsh-users/zsh-completions;
|
2016-06-26 22:39:18 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.olejorgenb ];
|
|
|
|
};
|
|
|
|
}
|