3
0
Fork 0
forked from mirrors/nixpkgs

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>
This commit is contained in:
R. RyanTM 2022-09-21 15:06:17 -07:00 committed by GitHub
parent e51e0cfd22
commit cb7b71a6b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";