mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
28 lines
626 B
Nix
28 lines
626 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "terraform-lsp";
|
|
version = "0.0.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "juliosueiras";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "111350jbq0dp0qhk48j12hrlisd1fwzqpcv357igrbqf6ki7r78q";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
ldflags = [ "-s" "-w" "-X main.Version=${version}" "-X main.GitCommit=${src.rev}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Language Server Protocol for Terraform";
|
|
homepage = "https://github.com/juliosueiras/terraform-lsp";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ marsam ];
|
|
};
|
|
}
|