ca1bc75f9f
Removed makeWrapper as it's been unused since we stopped wrapping up TF Added -s and -w ldflags to minify terragrunt
32 lines
760 B
Nix
32 lines
760 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "terragrunt";
|
|
version = "0.27.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gruntwork-io";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-YZ/3qtukPoCbgzy1qr0MJHSdqovzmP/AQixLq6GO27Q";
|
|
};
|
|
|
|
vendorSha256 = "sha256-AMxBzUHRsq1HOMtvgYqIw22Cky7gQ7/2hI8wQnxaXb0=";
|
|
|
|
doCheck = false;
|
|
|
|
buildFlagsArray = [
|
|
"-ldflags="
|
|
"-s"
|
|
"-w"
|
|
"-X main.VERSION=v${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
|
|
homepage = "https://github.com/gruntwork-io/terragrunt/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ peterhoeg jk ];
|
|
};
|
|
}
|