1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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
};
}