Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / shells / zsh / zsh-completions / default.nix
bloba32d56bedd1f3c28a359c299f6c9e91e3864a8f4
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "zsh-completions";
5   version = "0.35.0";
7   src = fetchFromGitHub {
8     owner = "zsh-users";
9     repo = pname;
10     rev = version;
11     sha256 = "sha256-GFHlZjIHUWwyeVoCpszgn4AmLPSSE8UVNfRmisnhkpg=";
12   };
14   strictDeps = true;
15   installPhase = ''
16     install -D --target-directory=$out/share/zsh/site-functions src/*
18     # tmuxp install it so avoid collision
19     rm $out/share/zsh/site-functions/_tmuxp
20   '';
22   meta = {
23     description = "Additional completion definitions for zsh";
24     homepage = "https://github.com/zsh-users/zsh-completions";
25     license = with lib.licenses; [
26       asl20
27       bsd3
28       isc
29       mit
30       zsh
31     ];
32     platforms = lib.platforms.unix;
33     maintainers = [ lib.maintainers.olejorgenb ];
34   };