From 4920e2e5ad21dea85fdd2774be09edf55151402a Mon Sep 17 00:00:00 2001 From: Michael Faille Date: Fri, 17 Jul 2020 02:00:49 -0400 Subject: kpt: init at v0.31.0 --- .../networking/cluster/kpt/default.nix | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/applications/networking/cluster/kpt/default.nix (limited to 'pkgs/applications') diff --git a/pkgs/applications/networking/cluster/kpt/default.nix b/pkgs/applications/networking/cluster/kpt/default.nix new file mode 100644 index 0000000000000..46fc928b2054e --- /dev/null +++ b/pkgs/applications/networking/cluster/kpt/default.nix @@ -0,0 +1,27 @@ +{ buildGoModule, fetchFromGitHub, lib }: + +buildGoModule rec { + pname = "kpt"; + version = "0.31.0"; + + src = fetchFromGitHub { + owner = "GoogleContainerTools"; + repo = pname; + rev = "v${version}"; + sha256 = "1l5mpml6pf37b76wdq6il00k5q6rvw9ds7807m103k27p7pcqgdx"; + }; + + vendorSha256 = "1yb6dwbnimqfamdg57vq68q853fq04qfnh3sfbjg82sd8pz8069g"; + + postInstall = '' + rm $out/bin/{mdtogo,formula} + ''; + + 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; + }; +} -- cgit 1.4.1