diff options
Diffstat (limited to 'pkgs/applications/editors/vscode/extensions/hashicorp.terraform/default.nix')
-rw-r--r-- | pkgs/applications/editors/vscode/extensions/hashicorp.terraform/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vscode/extensions/hashicorp.terraform/default.nix b/pkgs/applications/editors/vscode/extensions/hashicorp.terraform/default.nix new file mode 100644 index 0000000000000..e6e094bb1cb6f --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/hashicorp.terraform/default.nix @@ -0,0 +1,20 @@ +{ lib, vscode-utils, terraform-ls }: +vscode-utils.buildVscodeMarketplaceExtension rec { + mktplcRef = { + name = "terraform"; + publisher = "hashicorp"; + version = "2.19.0"; + sha256 = "sha256-k/fcEJuELz0xkwivSrP6Nxtz861BLq1wR2ZDMXVrvkY="; + }; + + patches = [ ./fix-terraform-ls.patch ]; + + postPatch = '' + substituteInPlace out/serverPath.js --replace TERRAFORM-LS-PATH ${terraform-ls}/bin/terraform-ls + ''; + + meta = with lib; { + license = licenses.mit; + maintainers = with maintainers; [ rhoriguchi ]; + }; +} |