mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
kubespy: init at 0.5.1
A tool to observe Kubernetes resources in real time. This is uesful, among others, for "staffing" shell.nix environments for k8s projects.
This commit is contained in:
parent
2f8206ea97
commit
e1b48ea8ea
31
pkgs/applications/networking/cluster/kubespy/default.nix
Normal file
31
pkgs/applications/networking/cluster/kubespy/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubespy";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "pulumi";
|
||||
repo = "kubespy";
|
||||
sha256 = "1p0qmn6458pa9la6zkvyrkgs2rhzfwsk9m3rk5fkmcfbh7b031r8";
|
||||
};
|
||||
|
||||
vendorSha256 = "0q85is01cbgxflnqdvxc9w5iqdizgvsc44h8z21j712bm2w7blqq";
|
||||
|
||||
# TODO: enable after https://github.com/pulumi/kubespy/issues/72 is addressed.
|
||||
# postInstall = ''
|
||||
# for shell in bash zsh; do
|
||||
# $out/bin/kubespy completion $shell > kubespy.$shell
|
||||
# installShellCompletion kubespy.$shell
|
||||
# done
|
||||
# '';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to observe Kubernetes resources in real time";
|
||||
homepage = "https://github.com/pulumi/kubespy";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -10721,6 +10721,8 @@ in
|
||||
kube-prompt = callPackage ../development/tools/kube-prompt { };
|
||||
|
||||
kubeprompt = callPackage ../development/tools/kubeprompt { };
|
||||
|
||||
kubespy = callPackage ../applications/networking/cluster/kubespy { };
|
||||
|
||||
kubicorn = callPackage ../development/tools/kubicorn { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user