infracost: 0.9.22 -> 0.10.0

This commit is contained in:
06kellyjac 2022-05-25 12:36:31 +01:00
parent f16159714c
commit 9245945322

View file

@ -1,16 +1,16 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, terraform }: { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec { buildGoModule rec {
pname = "infracost"; pname = "infracost";
version = "0.9.22"; version = "0.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "infracost"; owner = "infracost";
rev = "v${version}"; rev = "v${version}";
repo = "infracost"; repo = "infracost";
sha256 = "sha256-JYC5wsv3JIqzv2woHits3wMpvPZ70lVrAZDh/DB1SVE="; sha256 = "sha256-soMATF2lVFFwdKjqm7YiQ66MsjOk2pyrohFlHMMGiW0=";
}; };
vendorSha256 = "sha256-/B3hXHRNk6DJ6iC0RalsoWsb6vK0md8asnLkhSAeHXU="; vendorSha256 = "sha256-gPNQQQvHQch4Qa4c6OtS26lohhigzspB5M5H4NvvJY0=";
ldflags = [ "-s" "-w" "-X github.com/infracost/infracost/internal/version.Version=v${version}" ]; ldflags = [ "-s" "-w" "-X github.com/infracost/infracost/internal/version.Version=v${version}" ];
@ -26,6 +26,7 @@ buildGoModule rec {
# checkFlags aren't correctly passed through via buildGoModule so we use buildFlagsArray # checkFlags aren't correctly passed through via buildGoModule so we use buildFlagsArray
# -short only runs the unit-tests tagged short # -short only runs the unit-tests tagged short
# move to checkFlags after https://github.com/NixOS/nixpkgs/pull/173702
buildFlagsArray+="-short" buildFlagsArray+="-short"
# remove tests that require networking # remove tests that require networking