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

29 lines
779 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:
2017-01-10 07:27:30 +00:00
buildGoModule rec {
pname = "terragrunt";
2021-01-13 10:53:20 +00:00
version = "0.27.1";
2017-01-10 07:27:30 +00:00
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
2021-01-13 10:53:20 +00:00
sha256 = "sha256-YZ/3qtukPoCbgzy1qr0MJHSdqovzmP/AQixLq6GO27Q";
2017-01-10 07:27:30 +00:00
};
2021-01-08 16:30:49 +00:00
vendorSha256 = "sha256-AMxBzUHRsq1HOMtvgYqIw22Cky7gQ7/2hI8wQnxaXb0=";
2017-01-10 07:27:30 +00:00
doCheck = false;
2017-02-03 02:55:24 +00:00
buildInputs = [ makeWrapper ];
2017-01-10 07:27:30 +00:00
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/";
2017-01-10 07:27:30 +00:00
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg jk ];
2017-01-10 07:27:30 +00:00
};
}