3
0
Fork 0
forked from mirrors/nixpkgs

nix-zsh-completions: init at 0.2

This commit is contained in:
Spencer Whitt 2015-11-24 13:13:48 -05:00
parent 144eed8bad
commit 0b0e51ce6f
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "nix-zsh-completions";
src = fetchFromGitHub {
owner = "spwhitt";
repo = "nix-zsh-completions";
rev = "0.2";
sha256 = "0wimjdxnkw1lzhjn28zm4pgbij86ym0z17ayivpzz27g0sacimga";
};
installPhase = ''
mkdir -p $out/share/zsh/site-functions
cp _* $out/share/zsh/site-functions
'';
meta = {
homepage = "http://github.com/spwhitt/nix-zsh-completions";
description = "ZSH completions for Nix, NixOS, and NixOps";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.spwhitt ];
};
}

View file

@ -3708,6 +3708,8 @@ let
zsh = callPackage ../shells/zsh { }; zsh = callPackage ../shells/zsh { };
nix-zsh-completions = callPackage ../shells/nix-zsh-completions { };
### DEVELOPMENT / COMPILERS ### DEVELOPMENT / COMPILERS