mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
kubectl-gadget: 0.31.0 -> 0.32.0 (#339064)
This commit is contained in:
commit
3e5e40c37f
|
@ -1,17 +1,17 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, kubectl-gadget, testers }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubectl-gadget";
|
||||
version = "0.31.0";
|
||||
version = "0.32.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inspektor-gadget";
|
||||
repo = "inspektor-gadget";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-f93PdSA3OGiUUXSQn0aUP3o5xfvjiq/3L3Bz9k4OigI=";
|
||||
hash = "sha256-c6hy7B8zaU/LnTMAohc9KPzu1ocOVFJ9wL4GOIwxqkw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-lBfz0tzCWKEAAmpvjB2kUJ3aLjlzAjniIu/1aNE80Xg=";
|
||||
vendorHash = "sha256-7HfYCHxQUapDo33IAzxCp2iaL4G7oOqK0KyjqbmbR/w=";
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
|
@ -28,6 +28,12 @@ buildGoModule rec {
|
|||
|
||||
subPackages = [ "cmd/kubectl-gadget" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = kubectl-gadget;
|
||||
command = "kubectl-gadget version || true"; # mask non-zero return code if no kubeconfig present
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of gadgets for troubleshooting Kubernetes applications using eBPF";
|
||||
mainProgram = "kubectl-gadget";
|
|
@ -31196,8 +31196,6 @@ with pkgs;
|
|||
|
||||
kubectl-explore = callPackage ../applications/networking/cluster/kubectl-explore { };
|
||||
|
||||
kubectl-gadget = callPackage ../applications/networking/cluster/kubectl-gadget { };
|
||||
|
||||
kubectl-images = callPackage ../applications/networking/cluster/kubectl-images { };
|
||||
|
||||
kubectl-klock = callPackage ../applications/networking/cluster/kubectl-klock { };
|
||||
|
|
Loading…
Reference in a new issue