toolhive: init at 0.0.47 (#420384)
This commit is contained in:
@@ -26044,6 +26044,12 @@
|
||||
githubId = 1761259;
|
||||
name = "Eric Roberts";
|
||||
};
|
||||
thrix = {
|
||||
email = "mvadkert@redhat.com";
|
||||
github = "thrix";
|
||||
githubId = 633969;
|
||||
name = "Miroslav Vadkerti";
|
||||
};
|
||||
thtrf = {
|
||||
email = "thtrf@proton.me";
|
||||
github = "thtrf";
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
testers,
|
||||
toolhive,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "toolhive";
|
||||
version = "0.0.47";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stacklok";
|
||||
repo = "toolhive";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-FXJUEEyCw7ChuzmSAzwXd2LoJXT6vpH+j3muXx5TjPI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-aP923ezK4/2zTaU9QQLUmNN6KIddOaTlpsYMT2flRaE=";
|
||||
|
||||
# Build only the main CLI and operator binaries
|
||||
subPackages = [
|
||||
"cmd/thv"
|
||||
"cmd/thv-operator"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests = {
|
||||
version = testers.testVersion {
|
||||
package = toolhive;
|
||||
command = "thv version";
|
||||
version = "ToolHive build-unknown";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Run any MCP server — securely, instantly, anywhere";
|
||||
longDescription = ''
|
||||
ToolHive is an open-source tool for deploying Model Context Protocol (MCP)
|
||||
servers with a focus on security and ease of use. It provides a CLI to
|
||||
discover and deploy MCP servers, run servers in isolated containers,
|
||||
manage server configurations, and auto-configure clients like GitHub Copilot.
|
||||
'';
|
||||
homepage = "https://github.com/stacklok/toolhive";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ thrix ];
|
||||
mainProgram = "thv";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user