terraform-ls: 0.30.1 -> 0.31.3

This commit is contained in:
Aaron Jheng 2023-07-08 02:14:59 +00:00
parent 0ed682c384
commit 325a2aeccf
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -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
'';