diff options
author | Michael Faille <michael@faille.io> | 2020-07-17 02:00:49 -0400 |
---|---|---|
committer | Michael Faille <michael@faille.io> | 2020-07-19 12:02:08 -0400 |
commit | 4920e2e5ad21dea85fdd2774be09edf55151402a (patch) | |
tree | cde83596359aa0643abb2f64a5767ee8667756a4 /pkgs/applications | |
parent | 6148f6360310366708dff42055a0ba0afa963101 (diff) |
kpt: init at v0.31.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/cluster/kpt/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
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; + }; +} |