08f0ce1d0a
"This projects aims at gathering/developing new completion scripts that are not available in Zsh yet. The scripts are meant to be contributed to the Zsh project when stable enough."
26 lines
678 B
Nix
26 lines
678 B
Nix
{ stdenv, fetchFromGitHub}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zsh-completions-${version}";
|
|
version = "0.18.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zsh-users";
|
|
repo = "zsh-completions";
|
|
rev = "${version}";
|
|
sha256 = "0iwb1kaidjxaz66kbbdzbydbdlfc6dk21sflzar0zy25jgx1p4xs";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|