nixpkgs/pkgs/applications/networking/cluster/kpt/default.nix

26 lines
736 B
Nix
Raw Normal View History

2020-07-16 23:00:49 -07:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "kpt";
2020-08-21 22:50:07 -07:00
version = "0.33.0";
2020-07-16 23:00:49 -07:00
src = fetchFromGitHub {
owner = "GoogleContainerTools";
repo = pname;
rev = "v${version}";
2020-08-21 22:50:07 -07:00
sha256 = "1lvfbpxxddm1pk4mb4sm0chw15dalsfyhgy86npz94xjf1jssyh8";
2020-07-16 23:00:49 -07:00
};
2020-08-21 22:50:07 -07:00
vendorSha256 = "1xkjgzy9z7v5z4kl1769dgrrr0ljr0fdxfdj7xbic9hl6nm94kif";
2020-07-16 23:00:49 -07:00
2020-08-21 22:50:07 -07:00
subPackages = [ "." ];
2020-07-16 23:00:49 -07: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;
};
}