Merge pull request #176616 from azahi/terraform-lsp
terraform-lsp: use buildGoModule
This commit is contained in:
commit
4c25d81758
1 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,9 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "terraform-lsp";
|
||||
version = "0.0.12";
|
||||
|
||||
|
@ -11,7 +14,7 @@ buildGoPackage rec {
|
|||
sha256 = "111350jbq0dp0qhk48j12hrlisd1fwzqpcv357igrbqf6ki7r78q";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/juliosueiras/terraform-lsp";
|
||||
vendorSha256 = null;
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.Version=${version}" "-X main.GitCommit=${src.rev}" ];
|
||||
|
||||
|
@ -19,6 +22,6 @@ buildGoPackage rec {
|
|||
description = "Language Server Protocol for Terraform";
|
||||
homepage = "https://github.com/juliosueiras/terraform-lsp";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue