2020-11-18 17:58:28 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:
|
2017-01-10 07:27:30 +00:00
|
|
|
|
2020-05-06 12:05:10 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "terragrunt";
|
2020-11-25 21:16:16 +00:00
|
|
|
version = "0.26.7";
|
2017-01-10 07:27:30 +00:00
|
|
|
|
2020-10-16 15:18:01 +00:00
|
|
|
src = fetchFromGitHub {
|
2020-05-06 12:05:10 +00:00
|
|
|
owner = "gruntwork-io";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-25 21:16:16 +00:00
|
|
|
sha256 = "1431n6zs2mfkgh281xi0d7m9hxifrrsnd46fnpb54mr6lj9h0sdb";
|
2017-01-10 07:27:30 +00:00
|
|
|
};
|
|
|
|
|
2020-11-25 21:16:16 +00:00
|
|
|
vendorSha256 = "18ix11g709fvh8h02k3p2bmzrq5fjzaqa50h3g74s3hyl2gc9s9h";
|
2017-01-10 07:27:30 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2017-02-03 02:55:24 +00:00
|
|
|
buildInputs = [ makeWrapper ];
|
2017-01-10 07:27:30 +00:00
|
|
|
|
2020-10-16 15:18:01 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=" "-X main.VERSION=v${version}" ];
|
2017-03-15 15:01:09 +00:00
|
|
|
|
2020-10-23 08:48:39 +00:00
|
|
|
meta = with lib; {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/gruntwork-io/terragrunt/";
|
2017-01-10 07:27:30 +00:00
|
|
|
license = licenses.mit;
|
2020-10-23 08:49:41 +00:00
|
|
|
maintainers = with maintainers; [ peterhoeg jk ];
|
2017-01-10 07:27:30 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|