terraform-lsp: use buildGoModule
This commit is contained in:
parent
30d1a2f29e
commit
eaecf42788
|
@ -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