Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildGo125Module,
|
|
fetchFromGitHub,
|
|
versionCheckHook,
|
|
mockgen,
|
|
}:
|
|
buildGo125Module (finalAttrs: {
|
|
pname = "terragrunt";
|
|
version = "0.88.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gruntwork-io";
|
|
repo = "terragrunt";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-+AGxB13XgyClWu8xsVTCnRknPleiijoRRRdgedL88IQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
versionCheckHook
|
|
mockgen
|
|
];
|
|
|
|
preBuild = ''
|
|
make generate-mocks
|
|
'';
|
|
|
|
vendorHash = "sha256-+4mDmC1B4YmExOJqS/vlTxBiI5/rKcn3Vyw53BfvAxA=";
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/gruntwork-io/go-commons/version.Version=v${finalAttrs.version}"
|
|
"-extldflags '-static'"
|
|
];
|
|
|
|
doInstallCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://terragrunt.gruntwork.io";
|
|
changelog = "https://github.com/gruntwork-io/terragrunt/releases/tag/v${finalAttrs.version}";
|
|
description = "Thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
|
|
mainProgram = "terragrunt";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
jk
|
|
qjoly
|
|
kashw2
|
|
];
|
|
};
|
|
})
|