biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / shells / zsh / zsh-completions / default.nix
blob0bb2c87267190ec0585f834ed6d1947cf7b8edca
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       mit-modern
31     ];
32     platforms = lib.platforms.unix;
33     maintainers = [ lib.maintainers.olejorgenb ];
34   };