depot/third_party/nixpkgs/pkgs/shells/zsh/zsh-completions/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

26 lines
635 B
Nix

{ lib, stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
pname = "zsh-completions";
version = "0.32.0";
src = fetchFromGitHub {
owner = "zsh-users";
repo = pname;
rev = version;
sha256 = "12l9wrx0aysyj62kgp5limglz0nq73w8c415wcshxnxmhyk6sw6d";
};
installPhase= ''
install -D --target-directory=$out/share/zsh/site-functions src/*
'';
meta = {
description = "Additional completion definitions for zsh";
homepage = "https://github.com/zsh-users/zsh-completions";
license = lib.licenses.free;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.olejorgenb ];
};
}