blob: a32d56bedd1f3c28a359c299f6c9e91e3864a8f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zsh-completions";
version = "0.35.0";
src = fetchFromGitHub {
owner = "zsh-users";
repo = pname;
rev = version;
sha256 = "sha256-GFHlZjIHUWwyeVoCpszgn4AmLPSSE8UVNfRmisnhkpg=";
};
strictDeps = true;
installPhase = ''
install -D --target-directory=$out/share/zsh/site-functions src/*
# tmuxp install it so avoid collision
rm $out/share/zsh/site-functions/_tmuxp
'';
meta = {
description = "Additional completion definitions for zsh";
homepage = "https://github.com/zsh-users/zsh-completions";
license = with lib.licenses; [
asl20
bsd3
isc
mit
zsh
];
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.olejorgenb ];
};
}
|