Merge pull request #242162 from aaronjheng/terraform-ls
terraform-ls: 0.30.1 -> 0.31.3
This commit is contained in:
commit
9ae20ca43d
1 changed files with 7 additions and 6 deletions
|
@ -1,18 +1,19 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, stdenv }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "terraform-ls";
|
||||
version = "0.30.1";
|
||||
version = "0.31.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hashicorp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-enPnj4/p83hQkVv821MGyGipgEmVo12IZzy/3y8UprQ=";
|
||||
hash = "sha256-OzqJ/F3GeIaX4/z1KJdok8kUfualRzHv1AIM8dt8Kik=";
|
||||
};
|
||||
vendorSha256 = "sha256-U3zslBDVz5nvhNgcn5L84hSUolf7XFCuh7zMZxyW/gQ=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.version=v${version}" "-X main.prerelease=" ];
|
||||
vendorHash = "sha256-pEuen7CWniFzLgL1v+Xt1l6hde3YpyOMmQalj08UBX8=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
# There's a mixture of tests that use networking and several that fail on aarch64
|
||||
doCheck = false;
|
||||
|
@ -21,7 +22,7 @@ buildGoModule rec {
|
|||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
$out/bin/terraform-ls --help
|
||||
$out/bin/terraform-ls version | grep "v${version}"
|
||||
$out/bin/terraform-ls --version | grep "${version}"
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue