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