Merge pull request #130266 from 06kellyjac/infracost
infracost: 0.9.3 -> 0.9.4
This commit is contained in:
commit
67ccd996ce
1 changed files with 3 additions and 11 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "infracost";
|
||||
version = "0.9.3";
|
||||
version = "0.9.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "infracost";
|
||||
rev = "v${version}";
|
||||
repo = "infracost";
|
||||
sha256 = "sha256-3AH/VUKIno/jObep5GNfIpyOW5TcfZ5UZyornJWTGOw=";
|
||||
sha256 = "sha256-OQwMO9bhPK+Wjob8rAFYJQRpAYf1bPdRi2BjETjpSpE=";
|
||||
};
|
||||
vendorSha256 = "sha256-zMEtVPyzwW4SrbpydDFDqgHEC0/khkrSxlEnQ5I0he8=";
|
||||
|
||||
|
@ -25,12 +25,7 @@ buildGoModule rec {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
# panic if .config directory can't be accessed
|
||||
# https://github.com/infracost/infracost/pull/862
|
||||
export HOME="$TMPDIR"
|
||||
mkdir -p "$HOME/.config/infracost"
|
||||
export INFRACOST_SKIP_UPDATE_CHECK=true
|
||||
|
||||
installShellCompletion --cmd infracost \
|
||||
--bash <($out/bin/infracost completion --shell bash) \
|
||||
--fish <($out/bin/infracost completion --shell fish) \
|
||||
|
@ -41,10 +36,7 @@ buildGoModule rec {
|
|||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
||||
export HOME="$TMPDIR"
|
||||
mkdir -p "$HOME/.config/infracost"
|
||||
export INFRACOST_SKIP_UPDATE_CHECK=true
|
||||
|
||||
$out/bin/infracost --help
|
||||
$out/bin/infracost --version | grep "v${version}"
|
||||
|
||||
|
@ -60,7 +52,7 @@ buildGoModule rec {
|
|||
This helps developers, DevOps et al. quickly see the cost breakdown and
|
||||
compare different deployment options upfront.
|
||||
'';
|
||||
license = [ licenses.asl20 ];
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ davegallant jk ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue