electron_32: fix log spam when building on aarch64-linux (#378988)
[NixPkgs.git] / pkgs / by-name / zs / zsh-completions / package.nix
blob193c78210bdfd9d928efa21ed96e0b403089c6ca
2   lib,
3   stdenv,
4   fetchFromGitHub,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "zsh-completions";
9   version = "0.35.0";
11   src = fetchFromGitHub {
12     owner = "zsh-users";
13     repo = pname;
14     rev = version;
15     sha256 = "sha256-GFHlZjIHUWwyeVoCpszgn4AmLPSSE8UVNfRmisnhkpg=";
16   };
18   strictDeps = true;
19   installPhase = ''
20     install -D --target-directory=$out/share/zsh/site-functions src/*
22     # tmuxp install it so avoid collision
23     rm $out/share/zsh/site-functions/_tmuxp
24   '';
26   meta = {
27     description = "Additional completion definitions for zsh";
28     homepage = "https://github.com/zsh-users/zsh-completions";
29     license = with lib.licenses; [
30       asl20
31       bsd3
32       isc
33       mit
34       mit-modern
35     ];
36     platforms = lib.platforms.unix;
37     maintainers = [ lib.maintainers.olejorgenb ];
38   };