mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
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 ];
|
||
|
};
|
||
|
}
|