Merge pull request #174482 from 06kellyjac/infracost
This commit is contained in:
commit
b06b4cff16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user