Files
millerson-overlay.nix/packages/skillsmcp/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

49 lines
1.1 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
fastmcp,
}:
python3Packages.buildPythonApplication rec {
pname = "skillsmcp";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "aviddiviner";
repo = "skillsmcp";
rev = "4b1d1b0ad270ef5b8cb3c9024c276ccaf512c6d9";
hash = "sha256-xS2XEaAmIdYgNTVwJPfpcrQfqhcppO7FEguPwhfKgW4=";
};
build-system = with python3Packages; [
hatchling
];
dependencies = [
fastmcp
python3Packages.pyyaml
];
# Disable all checks to avoid version issues
doCheck = false;
pythonImportsCheck = [ "skillsmcp" ];
# Patch to accept fastmcp 2.x from nixpkgs
postPatch = ''
# Replace version requirement in pyproject.toml
sed -i 's/"fastmcp>=3.0.0"/"fastmcp>=2.0"/' pyproject.toml
'';
passthru.category = "MCP Servers";
meta = with lib; {
description = "MCP server that exposes Agent Skills to AI agents via the Model Context Protocol";
homepage = "https://github.com/aviddiviner/skillsmcp";
license = licenses.mit;
mainProgram = "skillsmcp";
platforms = platforms.all;
};
}