nixpkgs/pkgs/applications/networking/cluster/terragrunt/default.nix
Peter Hoeg 388371152a terragrunt: fix typo
In my earlier PR #21901, I had pushed the wrong local branch without a '$'.

Apologies @Mic92 - please apply.
2017-01-15 19:11:56 +08:00

31 lines
889 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub, terraform, makeWrapper }:
buildGoPackage rec {
name = "terragrunt-${version}";
version = "0.9.1";
goPackagePath = "github.com/gruntwork-io/terragrunt";
src = fetchFromGitHub {
rev = "v${version}";
owner = "gruntwork-io";
repo = "terragrunt";
sha256 = "19im4sazw09854lnzalljwx22qswly8ffyys3yrjkd2l9vfxfly3";
};
goDeps = ./deps.nix;
buildInputs = [ makeWrapper terraform ];
postInstall = ''
wrapProgram $bin/bin/terragrunt \
--set TERRAGRUNT_TFPATH ${lib.getBin terraform}/bin/terraform
'';
meta = with stdenv.lib; {
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices.";
homepage = https://github.com/gruntwork-io/terragrunt/;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}