diff --git a/pkgs/by-name/mc/mcp-searxng/package.nix b/pkgs/by-name/mc/mcp-searxng/package.nix new file mode 100644 index 000000000000..25622992ef84 --- /dev/null +++ b/pkgs/by-name/mc/mcp-searxng/package.nix @@ -0,0 +1,31 @@ +{ + lib, + buildNpmPackage, + fetchFromGitHub, +}: + +buildNpmPackage (finalAttrs: { + pname = "mcp-searxng"; + version = "2.1.0"; + + __structuredAttrs = true; + strictDeps = true; + + src = fetchFromGitHub { + owner = "ihor-sokoliuk"; + repo = "mcp-searxng"; + tag = "v${finalAttrs.version}"; + hash = "sha256-Zq6oKXxmo+jaiSCGOsEB76y4xTEqU+WC1eQVFzsazXQ="; + }; + + npmDepsHash = "sha256-YIH/5RIdF/iSnUT+rWFUCKiwn3oPr1GJsgYvriJt0co="; + + meta = { + description = "Private web search for AI assistants via SearXNG — supports Claude, Cursor, and any MCP client"; + homepage = "https://github.com/ihor-sokoliuk/mcp-searxng"; + changelog = "https://github.com/ihor-sokoliuk/mcp-searxng/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ SuperSandro2000 ]; + mainProgram = "mcp-searxng"; + }; +})