mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
28 lines
656 B
Nix
28 lines
656 B
Nix
{ lib, stdenv, fetchFromGitHub}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zsh-completions";
|
|
version = "0.33.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zsh-users";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0vs14n29wvkai84fvz3dz2kqznwsq2i5fzbwpv8nsfk1126ql13i";
|
|
};
|
|
|
|
strictDeps = true;
|
|
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 = lib.licenses.free;
|
|
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ lib.maintainers.olejorgenb ];
|
|
};
|
|
}
|