Files
millerson-overlay.nix/packages/mcp-gateway/package.nix
Alexander Miroshnichenko c68a821a00 fix: improve package quality and fix goose-cli build
- Add meta.platforms to all packages for proper platform detection
- Add passthru.category to mcp-gateway for consistency
- Fix meta style inconsistency in mcp-gateway (lib.licenses → licenses)
- Fix pythonImportsCheck in skillsmcp to actually validate the import
- Remove empty maintainers list from skillsmcp
- Add libclang to goose-cli nativeBuildInputs (fixes bindgen/llama-cpp-sys-2 build)
- Add treefmt.toml with nixfmt formatter configuration
- Add nixConfig.extra-substituters for binary cache support
- Delete broken goose-cli/update.py (referenced missing scripts/updater.py)
- Document nix-update usage in AGENTS.md for package updates
- Fix stale project structure diagram in README
2026-05-06 12:54:26 +03:00

42 lines
979 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "mcp-gateway";
version = "2.11.0";
src = fetchFromGitHub {
owner = "MikkoParkkola";
repo = "mcp-gateway";
rev = "v${version}";
hash = "sha256-7IALz7hOnCeKtiEm8b3M7v5oy4hw173viyhNeqQIhTI=";
};
cargoHash = "sha256-B5HRETFryzLqQhdIqRFj0apZS0wMggW2MHE2VsbB22Y=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
];
doCheck = false;
passthru.category = "MCP Servers";
meta = with lib; {
description = "Universal Model Context Protocol gateway that sits between AI client and MCP tools/servers";
homepage = "https://github.com/MikkoParkkola/mcp-gateway";
changelog = "https://github.com/MikkoParkkola/mcp-gateway/releases/tag/v${version}";
license = licenses.mit;
sourceProvenance = with sourceTypes; [ fromSource ];
mainProgram = "mcp-gateway";
platforms = platforms.all;
};
}