mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 16:15:30 +00:00
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."
27 lines
678 B
Nix
27 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 ];
|
|
};
|
|
}
|