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-01 16:04:17 +00:00
version = "0.27.4";
2017-01-10 07:27:30 +00:00
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
2021-02-01 16:04:17 +00:00
sha256 = "sha256-ReLPQIxuSTzMOZAYArN1dj6T/aojusKdKZ0YytmF1uc=";
2017-01-10 07:27:30 +00:00
};
2021-02-01 16:04:17 +00:00
vendorSha256 = "sha256-UX0HXD4o0QVRffDuH8N+1FeJNyHHnb+A9Kw7aAM5j/w=";
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
};
}