3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/terragrunt/default.nix

33 lines
836 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2017-01-10 07:27:30 +00:00
buildGoModule rec {
pname = "terragrunt";
2021-02-10 15:28:40 +00:00
version = "0.28.3";
2017-01-10 07:27:30 +00:00
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
2021-02-10 15:28:40 +00:00
sha256 = "sha256-ERThySRhTqklZ8sRrlHBiCtPqKMplioOyjuVEN44GvI=";
2017-01-10 07:27:30 +00:00
};
2021-02-02 16:35:28 +00:00
vendorSha256 = "sha256-lRJerUYafpkXAGf8MEM8SeG3aB86mlMo7iLpeHFAnd4=";
2017-01-10 07:27:30 +00:00
doCheck = false;
buildFlagsArray = [
"-ldflags="
"-s"
"-w"
"-X main.VERSION=v${version}"
];
meta = with lib; {
homepage = "https://terragrunt.gruntwork.io";
changelog = "https://github.com/gruntwork-io/terragrunt/releases/tag/v${version}";
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
2017-01-10 07:27:30 +00:00
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg jk ];
2017-01-10 07:27:30 +00:00
};
}