Skip to content

Commit

Permalink
kapp: 0.52.0 -> 0.53.0
Browse files Browse the repository at this point in the history
* kapp: 0.52.0 -> 0.53.0
* kapp: fix version
* kapp: fix version test

Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
  • Loading branch information
r-ryantm and superherointj committed Sep 21, 2022
1 parent e51e0cf commit cb7b71a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/tools/networking/kapp/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{ 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;

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 ];
Expand All @@ -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";
Expand Down

0 comments on commit cb7b71a

Please sign in to comment.