forked from mirrors/nixpkgs
nix-zsh-completions: init at 0.2
This commit is contained in:
parent
144eed8bad
commit
0b0e51ce6f
25
pkgs/shells/nix-zsh-completions/default.nix
Normal file
25
pkgs/shells/nix-zsh-completions/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -3708,6 +3708,8 @@ let
|
|||
|
||||
zsh = callPackage ../shells/zsh { };
|
||||
|
||||
nix-zsh-completions = callPackage ../shells/nix-zsh-completions { };
|
||||
|
||||
|
||||
### DEVELOPMENT / COMPILERS
|
||||
|
||||
|
|
Loading…
Reference in a new issue