2020-07-17 07:00:49 +01:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kpt";
|
2020-09-25 18:51:13 +01:00
|
|
|
version = "0.34.0";
|
2020-07-17 07:00:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GoogleContainerTools";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-09-25 18:51:13 +01:00
|
|
|
sha256 = "1x4g45sq8licjcccvad6w1yb9h2z2cc2xbpp073j1pafnqwmrswq";
|
2020-07-17 07:00:49 +01:00
|
|
|
};
|
|
|
|
|
2020-09-25 18:51:13 +01:00
|
|
|
vendorSha256 = "1vpljhqbvwv3a7k4c7p3n4ixh32f8hp9cqj8jz03mzqlmf60pyfs";
|
2020-07-17 07:00:49 +01:00
|
|
|
|
2020-08-22 06:50:07 +01:00
|
|
|
subPackages = [ "." ];
|
2020-07-17 07:00:49 +01:00
|
|
|
|
2020-10-01 05:20:00 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/GoogleContainerTools/kpt/run.version=${version}" ];
|
|
|
|
|
2020-07-17 07:00:49 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A toolkit to help you manage, manipulate, customize, and apply Kubernetes Resource configuration data files";
|
|
|
|
homepage = "https://googlecontainertools.github.io/kpt/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ mikefaille ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|