diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-06-12 08:18:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 08:18:35 -0500 |
commit | 80643891c0ddf7fe9bb8f2fe345324d5539b2dd9 (patch) | |
tree | db7c533961c4041e5e4aa39cb5118a79d8f7a0b2 /pkgs/development | |
parent | 6e5952e5177ad98aa95a6675e3ee92edc713be8f (diff) | |
parent | 66dcfc613ea7746102cc28f4d4739d5b4bca6ae4 (diff) | |
download | nixlib-80643891c0ddf7fe9bb8f2fe345324d5539b2dd9.tar nixlib-80643891c0ddf7fe9bb8f2fe345324d5539b2dd9.tar.gz nixlib-80643891c0ddf7fe9bb8f2fe345324d5539b2dd9.tar.bz2 nixlib-80643891c0ddf7fe9bb8f2fe345324d5539b2dd9.tar.lz nixlib-80643891c0ddf7fe9bb8f2fe345324d5539b2dd9.tar.xz nixlib-80643891c0ddf7fe9bb8f2fe345324d5539b2dd9.tar.zst nixlib-80643891c0ddf7fe9bb8f2fe345324d5539b2dd9.zip |
Merge pull request #90181 from martinbaillie/terraform-language-server
terraform-ls: init at 0.3.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/misc/terraform-ls/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/terraform-ls/default.nix b/pkgs/development/tools/misc/terraform-ls/default.nix new file mode 100644 index 000000000000..cbbdd416ff8b --- /dev/null +++ b/pkgs/development/tools/misc/terraform-ls/default.nix @@ -0,0 +1,24 @@ +{ lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "terraform-ls"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "hashicorp"; + repo = pname; + rev = "v${version}"; + sha256 = "11776nq1ixrg791xlmryjxldsc8gn69j1fc0wd6cdywy8yp2lh4w"; + }; + + goPackagePath = "github.com/hashicorp/terraform-ls"; + + buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; + + meta = with lib; { + description = "Terraform Language Server (official)"; + homepage = "https://github.com/hashicorp/terraform-ls"; + license = licenses.mpl20; + maintainers = with maintainers; [ mbaillie ]; + }; +} |