Merge pull request #174482 from 06kellyjac/infracost

This commit is contained in:
Sandro 2022-05-25 22:36:15 +02:00 committed by GitHub
commit b06b4cff16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +1,16 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, terraform }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "infracost";
version = "0.9.22";
version = "0.10.0";
src = fetchFromGitHub {
owner = "infracost";
rev = "v${version}";
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}" ];
@ -26,6 +26,7 @@ buildGoModule rec {
# checkFlags aren't correctly passed through via buildGoModule so we use buildFlagsArray
# -short only runs the unit-tests tagged short
# move to checkFlags after https://github.com/NixOS/nixpkgs/pull/173702
buildFlagsArray+="-short"
# remove tests that require networking