From cb7b71a6b671a8838dfeeefe1e6a88bf5ced0336 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Wed, 21 Sep 2022 15:06:17 -0700 Subject: [PATCH] kapp: 0.52.0 -> 0.53.0 * kapp: 0.52.0 -> 0.53.0 * kapp: fix version * kapp: fix version test Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com> --- pkgs/tools/networking/kapp/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/networking/kapp/default.nix b/pkgs/tools/networking/kapp/default.nix index 97c6021a608d..5a9bf692b930 100644 --- a/pkgs/tools/networking/kapp/default.nix +++ b/pkgs/tools/networking/kapp/default.nix @@ -1,13 +1,14 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: +{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kapp }: + buildGoModule rec { pname = "kapp"; - version = "0.52.0"; + version = "0.53.0"; src = fetchFromGitHub { owner = "vmware-tanzu"; repo = "carvel-kapp"; rev = "v${version}"; - sha256 = "sha256-sCQD0hZTJaeueBTu4XPiPVC5dhPWkTQn0mKwWVT5H/0="; + sha256 = "sha256-y4afSca87vPWPPWbSMS/Q3Y6TZg8fl0eu0Vw3udp3zA="; }; vendorSha256 = null; @@ -15,7 +16,7 @@ buildGoModule rec { subPackages = [ "cmd/kapp" ]; ldflags = [ - "-X github.com/k14s/kapp/pkg/kapp/version.Version=${version}" + "-X github.com/vmware-tanzu/carvel-kapp/pkg/kapp/version.Version=${version}" ]; nativeBuildInputs = [ installShellFiles ]; @@ -27,6 +28,10 @@ buildGoModule rec { done ''; + passthru.tests.version = testers.testVersion { + package = kapp; + }; + meta = with lib; { description = "CLI tool that encourages Kubernetes users to manage bulk resources with an application abstraction for grouping"; homepage = "https://get-kapp.io";