2021-06-18 17:06:52 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, terraform }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "infracost";
|
2021-07-08 06:47:22 +01:00
|
|
|
version = "0.9.3";
|
2021-06-18 17:06:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "infracost";
|
|
|
|
rev = "v${version}";
|
|
|
|
repo = "infracost";
|
2021-07-08 06:47:22 +01:00
|
|
|
sha256 = "sha256-3AH/VUKIno/jObep5GNfIpyOW5TcfZ5UZyornJWTGOw=";
|
2021-06-18 17:06:52 +01:00
|
|
|
};
|
|
|
|
|
2021-07-08 06:47:22 +01:00
|
|
|
vendorSha256 = "sha256-zMEtVPyzwW4SrbpydDFDqgHEC0/khkrSxlEnQ5I0he8=";
|
2021-06-18 17:06:52 +01:00
|
|
|
|
|
|
|
checkInputs = [ terraform ];
|
|
|
|
checkPhase = "make test";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cloud cost estimates for Terraform in your CLI and pull requests";
|
|
|
|
homepage = "https://github.com/infracost/infracost";
|
|
|
|
license = [ licenses.asl20 ];
|
|
|
|
maintainers = [ maintainers.davegallant ];
|
|
|
|
};
|
|
|
|
}
|