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