summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-05-25 22:36:15 +0200
committerGitHub <noreply@github.com>2022-05-25 22:36:15 +0200
commitb06b4cff16fa7eb607015562f436fb0656d43e8b (patch)
tree4596df839105f81cae1fef819495eb306165131e
parent5e81d7da36093be100ee99e52ae468cd83f71dc4 (diff)
parent9245945322956cb50b7774a120520dfad60ee8ce (diff)
Merge pull request #174482 from 06kellyjac/infracost
-rw-r--r--pkgs/tools/misc/infracost/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/misc/infracost/default.nix b/pkgs/tools/misc/infracost/default.nix
index 4f25b996f78d..172bcc074a5b 100644
--- a/pkgs/tools/misc/infracost/default.nix
+++ b/pkgs/tools/misc/infracost/default.nix
@@ -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