forked from mirrors/nixpkgs
Merge pull request #88156 from r-ryantm/auto-update/kubie
kubie: 0.8.4 -> 0.9.1
This commit is contained in:
commit
2b4314f122
|
@ -1,31 +1,30 @@
|
||||||
{ stdenv, rustPlatform, fetchFromGitHub }:
|
{ stdenv, rustPlatform, fetchFromGitHub, installShellFiles, Security }:
|
||||||
|
|
||||||
with rustPlatform;
|
rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
buildRustPackage rec {
|
|
||||||
pname = "kubie";
|
pname = "kubie";
|
||||||
version = "0.8.4";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "sbstp";
|
owner = "sbstp";
|
||||||
repo = "kubie";
|
repo = "kubie";
|
||||||
sha256 = "1f82xlhhxbjadjw609kr1kdm4n69c9mqjia4b3k505wjh7cc55n0";
|
sha256 = "0q1dxry10iaf7zx6vyr0da4ihqx7l8dlyhlqm8qqfz913h2wam8c";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0mish7wqwq5ynl98n6swdn5i6mg62aih5rfykbl3wx39b468n481";
|
cargoSha256 = "13zs2xz3s4732zxsimg7b22d9707ln4gpscznxi13cjkf5as9gbz";
|
||||||
|
|
||||||
installPhase = ''
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
mkdir -p $out/share/bash-completion/completions
|
|
||||||
cp -v ${src}/completion/kubie.bash $out/share/bash-completion/completions/kubie
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion completion/kubie.bash
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description =
|
description = "Shell independent context and namespace switcher for kubectl";
|
||||||
"Shell independent context and namespace switcher for kubectl";
|
|
||||||
homepage = "https://github.com/sbstp/kubie";
|
homepage = "https://github.com/sbstp/kubie";
|
||||||
license = with licenses; [ zlib ];
|
license = with licenses; [ zlib ];
|
||||||
maintainers = with maintainers; [ illiusdope ];
|
maintainers = with maintainers; [ illiusdope ];
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10573,7 +10573,9 @@ in
|
||||||
|
|
||||||
kubicorn = callPackage ../development/tools/kubicorn { };
|
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 { };
|
kustomize = callPackage ../development/tools/kustomize { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue