11 src = fetchFromGitHub {
12 owner = "gruntwork-io";
14 rev = "refs/tags/v${version}";
15 hash = "sha256-TDYYPR+Sak2Kv89Fp+sCi2XC8eYrwVS5RIgzUTXaCRc=";
18 nativeBuildInputs = [ go-mockery ];
24 vendorHash = "sha256-NERvQoxT01ew/rCkEXrthsqF1mXjhxZANBL9ApTyd7o=";
31 "-X github.com/gruntwork-io/go-commons/version.Version=v${version}"
34 doInstallCheck = true;
36 installCheckPhase = ''
37 runHook preInstallCheck
38 $out/bin/terragrunt --help
39 $out/bin/terragrunt --version | grep "v${version}"
40 runHook postInstallCheck
44 homepage = "https://terragrunt.gruntwork.io";
45 changelog = "https://github.com/gruntwork-io/terragrunt/releases/tag/v${version}";
46 description = "Thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
47 mainProgram = "terragrunt";
48 license = licenses.mit;
49 maintainers = with maintainers; [ jk qjoly kashw2 ];