infracost: 0.9.18 -> 0.9.20
This commit is contained in:
parent
7d1ef336a3
commit
3b5a3dfd58
@ -2,15 +2,15 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "infracost";
|
||||
version = "0.9.18";
|
||||
version = "0.9.20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "infracost";
|
||||
rev = "v${version}";
|
||||
repo = "infracost";
|
||||
sha256 = "sha256-ukFY6Iy7RaUjECbMCMdOkulMdzUlsoBnyRiuzldXVc8=";
|
||||
sha256 = "sha256-ujoKnf6f9rrPIxvWlzVnC6q+2BxzhpXgb66clgAuC+8=";
|
||||
};
|
||||
vendorSha256 = "sha256-D4tXBXtD3FlWvp4GPIuo/2p3MKg81DVPT5pKVOGe/5c=";
|
||||
vendorSha256 = "sha256-TfO3+pGxR9dPzigkx89a/Ak+tKiBa6Z0a6U4kIdRsSQ=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/infracost/infracost/internal/version.Version=v${version}" ];
|
||||
|
||||
@ -23,9 +23,9 @@ buildGoModule rec {
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
# Remove tests that require networking
|
||||
rm cmd/infracost/{breakdown_test,diff_test,run_test}.go
|
||||
|
||||
# remove tests that require networking
|
||||
rm cmd/infracost/{breakdown,diff,hcl,run}_test.go
|
||||
# checkFlags aren't correctly passed through via buildGoModule
|
||||
go test $checkFlags ''${ldflags:+-ldflags="$ldflags"} -v -p $NIX_BUILD_CORES ./...
|
||||
|
||||
runHook postCheck
|
||||
|
Loading…
Reference in New Issue
Block a user