27 lines
676 B
Nix
27 lines
676 B
Nix
{ stdenv, fetchFromGitHub}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zsh-completions-${version}";
|
|
version = "0.29.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zsh-users";
|
|
repo = "zsh-completions";
|
|
rev = "${version}";
|
|
sha256 = "0a4fdh10rhhjcy06qiyyy0xjvg7fapvy3pgif38wrjqvrddaj6pv";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|