mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
29 lines
782 B
Nix
29 lines
782 B
Nix
{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:
|
|
|
|
buildGoModule rec {
|
|
pname = "terragrunt";
|
|
version = "0.26.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gruntwork-io";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0q1dzrjfg97bk1prknwpdgcf5vnpdi0f41wb5ni4550zzqsz3rnk";
|
|
};
|
|
|
|
vendorSha256 = "0l85jx02dj9qvxs8l0ln5fln8vssi0fisblm5i1scz9x4a1jqg9n";
|
|
|
|
doCheck = false;
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
buildFlagsArray = [ "-ldflags=" "-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 ];
|
|
};
|
|
}
|