1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/shells/zsh-completions/default.nix

27 lines
676 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
name = "zsh-completions-${version}";
2017-08-01 00:51:12 +01:00
version = "0.26.0";
src = fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-completions";
rev = "${version}";
2017-08-01 00:51:12 +01:00
sha256 = "16yhwf42a11v8bhnfb7nda0svxmglzph3c0cknvf8p5m6mkqj9s2";
};
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 = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.olejorgenb ];
};
}