3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/shells/zsh/zsh-completions/default.nix

27 lines
635 B
Nix
Raw Normal View History

2021-01-15 06:28:56 +00:00
{ lib, stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
pname = "zsh-completions";
2021-06-01 08:04:12 +01:00
version = "0.33.0";
src = fetchFromGitHub {
owner = "zsh-users";
2019-09-21 00:16:43 +01:00
repo = pname;
2019-09-09 00:38:31 +01:00
rev = version;
2021-06-01 08:04:12 +01:00
sha256 = "0vs14n29wvkai84fvz3dz2kqznwsq2i5fzbwpv8nsfk1126ql13i";
};
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";
2021-01-15 06:28:56 +00:00
license = lib.licenses.free;
2021-01-15 06:28:56 +00:00
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.olejorgenb ];
};
}