2021-12-21 05:46:28 +00:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubergrunt";
|
2023-01-21 00:56:58 +00:00
|
|
|
version = "0.10.1";
|
2021-12-21 05:46:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gruntwork-io";
|
|
|
|
repo = "kubergrunt";
|
|
|
|
rev = "v${version}";
|
2023-01-21 00:56:58 +00:00
|
|
|
sha256 = "sha256-vIqmE9U/0WGIaTpy8NfUadIkaTdN8YKqvRLQ/69NgBE=";
|
2021-12-21 05:46:28 +00:00
|
|
|
};
|
|
|
|
|
2023-01-21 00:56:58 +00:00
|
|
|
vendorHash = "sha256-K/Cw7Sh/2OqTbWQPEsoQbj/ejyaXcLxFT8Rg5Ore5DE=";
|
2021-12-21 05:46:28 +00:00
|
|
|
|
|
|
|
# Disable tests since it requires network access and relies on the
|
|
|
|
# presence of certain AWS infrastructure
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
# The binary is named kubergrunt
|
|
|
|
mv $out/bin/cmd $out/bin/kubergrunt
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Collection of commands to fill in the gaps between Terraform, Helm, and Kubectl";
|
|
|
|
homepage = "https://github.com/gruntwork-io/kubergrunt";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ psibi ];
|
|
|
|
};
|
|
|
|
}
|