Skip to content

Commit 3d7faf7

Browse files
committed
emcee: init at 0.4.5
emcee: update
1 parent 05621a9 commit 3d7faf7

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

pkgs/by-name/em/emcee/package.nix

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
buildGoModule,
5+
versionCheckHook,
6+
nix-update-script,
7+
}:
8+
9+
buildGoModule (finalAttrs: {
10+
pname = "emcee";
11+
version = "0.4.5";
12+
13+
src = fetchFromGitHub {
14+
owner = "loopwork-ai";
15+
repo = "emcee";
16+
tag = "v${finalAttrs.version}";
17+
hash = "sha256-qiH9Om1ChuMpU3CFQkOdJj1uITSI7hojRtXkRF9GSC0=";
18+
};
19+
20+
vendorHash = "sha256-TU6Z06b+ZkiaK2ArNKIhHMwBludThpSo4RLZO/sirK4=";
21+
22+
ldflags = [
23+
"-X main.version=${finalAttrs.version}"
24+
];
25+
26+
__darwinAllowLocalNetworking = true;
27+
28+
nativeInstallCheckInputs = [
29+
versionCheckHook
30+
];
31+
32+
versionCheckProgramArg = [ "--version" ];
33+
doInstallCheck = true;
34+
35+
passthru.updateScript = nix-update-script { };
36+
37+
meta = {
38+
description = "Connect agents to APIs";
39+
longDescription = ''
40+
emcee is a tool that provides a Model Context Protocol (MCP) server
41+
for any web application with an OpenAPI specification.
42+
You can use emcee to connect Claude Desktop
43+
and other apps to external tools and data services, similar to ChatGPT plugins.
44+
'';
45+
homepage = "https://github.com/loopwork-ai/emcee";
46+
changelog = "https://github.com/loopwork-ai/emcee/releases/tag/v${finalAttrs.version}";
47+
license = lib.licenses.asl20;
48+
maintainers = with lib.maintainers; [ genga898 ];
49+
mainProgram = "emcee";
50+
};
51+
})

0 commit comments

Comments
 (0)