Commit 3572e6db authored by pilz0's avatar pilz0
Browse files

terraform-mcp-server: add version check hook

parent 1c39e588
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  buildGoModule,
  fetchFromGitHub,
  lib,
  versionCheckHook,
}:
buildGoModule (finalAttrs: {
  pname = "terraform-mcp-server";
@@ -23,6 +24,12 @@ buildGoModule (finalAttrs: {

  subPackages = [ "cmd/terraform-mcp-server" ];

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  doInstallCheck = true;
  versionCheckProgramArg = "--version";

  meta = {
    description = "Terraform Model Context Protocol (MCP) Server";
    longDescription = ''