diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-12-24 17:31:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-24 17:31:09 -0500 |
commit | c30059a2fa7279e035705eda4fc6e97972107c4f (patch) | |
tree | 561ec7a146a7e3e5e9f6b21888cb5c5f635909f0 | |
parent | 5522bc57401f5b338aad59c95c068789511f9528 (diff) | |
parent | 3eeb0bf3eedc04951620c64ac1b70ebe22335428 (diff) |
Merge pull request #276388 from superherointj/kubent-0.7.1
kubent: 0.7.0 -> 0.7.1
-rw-r--r-- | pkgs/applications/networking/cluster/kubent/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/applications/networking/cluster/kubent/default.nix b/pkgs/applications/networking/cluster/kubent/default.nix index f54b6875a92ba..f650394ef0e4f 100644 --- a/pkgs/applications/networking/cluster/kubent/default.nix +++ b/pkgs/applications/networking/cluster/kubent/default.nix @@ -1,17 +1,17 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, testers, kubent }: buildGoModule rec { pname = "kubent"; - version = "0.7.0"; + version = "0.7.1"; src = fetchFromGitHub { owner = "doitintl"; repo = "kube-no-trouble"; rev = version; - sha256 = "sha256-QIvMhKAo30gInqJBpHvhcyjgVkdRqgBKwLQ80ng/75U="; + sha256 = "sha256-fJRaahK/tDns+edi1GIdYRk4+h2vbY2LltZN2hxvKGI="; }; - vendorHash = "sha256-XXf6CPPHVvCTZA4Ve5/wmlgXQ/gZZUW0W/jXA0bJgLA="; + vendorHash = "sha256-nEc0fngop+0ju8hDu7nowBsioqCye15Jo1mRlM0TtlQ="; ldflags = [ "-w" "-s" @@ -20,6 +20,12 @@ buildGoModule rec { subPackages = [ "cmd/kubent" ]; + passthru.tests.version = testers.testVersion { + package = kubent; + command = "kubent --version"; + version = "v${version}"; + }; + meta = with lib; { homepage = "https://github.com/doitintl/kube-no-trouble"; description = "Easily check your cluster for use of deprecated APIs"; |