nixpkgs/pkgs/applications/networking/cluster/terragrunt/default.nix

33 lines
836 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2017-01-09 23:27:30 -08:00
buildGoModule rec {
pname = "terragrunt";
2021-02-18 00:58:54 -08:00
version = "0.28.6";
2017-01-09 23:27:30 -08:00
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
2021-02-18 00:58:54 -08:00
sha256 = "sha256-DzC/HNwFNNEJhic/8KpHchrBmsSbrn7xf1DjY0JTH08=";
2017-01-09 23:27:30 -08:00
};
2021-02-02 08:35:28 -08:00
vendorSha256 = "sha256-lRJerUYafpkXAGf8MEM8SeG3aB86mlMo7iLpeHFAnd4=";
2017-01-09 23:27:30 -08: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-09 23:27:30 -08:00
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg jk ];
2017-01-09 23:27:30 -08:00
};
}