kubent: 0.7.0 -> 0.7.1
Release: https://github.com/doitintl/kube-no-trouble/releases/tag/0.7.1 * Add version test
This commit is contained in:
parent
133fcea523
commit
3eeb0bf3ee
1 changed files with 10 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue