2016-06-26 22:39:18 +00:00
|
|
|
{ stdenv, fetchFromGitHub}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "zsh-completions-${version}";
|
2017-07-31 23:51:12 +00:00
|
|
|
version = "0.26.0";
|
2016-06-26 22:39:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zsh-users";
|
|
|
|
repo = "zsh-completions";
|
|
|
|
rev = "${version}";
|
2017-07-31 23:51:12 +00:00
|
|
|
sha256 = "16yhwf42a11v8bhnfb7nda0svxmglzph3c0cknvf8p5m6mkqj9s2";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|