Merge pull request #88156 from r-ryantm/auto-update/kubie

kubie: 0.8.4 -> 0.9.1
This commit is contained in:
Mario Rodas 2020-05-19 09:09:17 -05:00 committed by GitHub
commit 2b4314f122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 14 deletions

View File

@ -1,31 +1,30 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
{ stdenv, rustPlatform, fetchFromGitHub, installShellFiles, Security }:
with rustPlatform;
buildRustPackage rec {
rustPlatform.buildRustPackage rec {
pname = "kubie";
version = "0.8.4";
version = "0.9.1";
src = fetchFromGitHub {
rev = "v${version}";
owner = "sbstp";
repo = "kubie";
sha256 = "1f82xlhhxbjadjw609kr1kdm4n69c9mqjia4b3k505wjh7cc55n0";
sha256 = "0q1dxry10iaf7zx6vyr0da4ihqx7l8dlyhlqm8qqfz913h2wam8c";
};
cargoSha256 = "0mish7wqwq5ynl98n6swdn5i6mg62aih5rfykbl3wx39b468n481";
cargoSha256 = "13zs2xz3s4732zxsimg7b22d9707ln4gpscznxi13cjkf5as9gbz";
installPhase = ''
mkdir -p $out/share/bash-completion/completions
cp -v ${src}/completion/kubie.bash $out/share/bash-completion/completions/kubie
nativeBuildInputs = [ installShellFiles ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
postInstall = ''
installShellCompletion completion/kubie.bash
'';
meta = with stdenv.lib; {
description =
"Shell independent context and namespace switcher for kubectl";
description = "Shell independent context and namespace switcher for kubectl";
homepage = "https://github.com/sbstp/kubie";
license = with licenses; [ zlib ];
maintainers = with maintainers; [ illiusdope ];
platforms = platforms.all;
};
}

View File

@ -10573,7 +10573,9 @@ in
kubicorn = callPackage ../development/tools/kubicorn { };
kubie = callPackage ../development/tools/kubie { };
kubie = callPackage ../development/tools/kubie {
inherit (darwin.apple_sdk.frameworks) Security;
};
kustomize = callPackage ../development/tools/kustomize { };