nixpkgs/pkgs/shells/zsh/zsh-completions/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
744 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zsh-completions";
2022-07-03 19:17:43 +00:00
version = "0.34.0";
src = fetchFromGitHub {
owner = "zsh-users";
2019-09-20 23:16:43 +00:00
repo = pname;
2019-09-08 23:38:31 +00:00
rev = version;
2022-07-03 19:17:43 +00:00
sha256 = "sha256-qSobM4PRXjfsvoXY6ENqJGI9NEAaFFzlij6MPeTfT0o=";
};
2022-05-06 18:39:28 +00:00
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";
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 ];
};
}