Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 76 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling, tomli,
# dependencies fastapi, httpx, mcp, pydantic, pydantic-settings, requests, rich, typer, uvicorn,
# tests coverage, pytest-asyncio, pytest-cov-stub, pytestCheckHook,}:
buildPythonPackage rec { pname = "fastapi-mcp"; version = "0.3.4"; pyproject = true;
src = fetchFromGitHub { owner = "tadata-org"; repo = "fastapi_mcp"; tag = "v${version}"; hash = "sha256-t6p/jXQjbhUmIlwoqszRj3GGSrLS0Gcoh1BtizNaw8o="; };
build-system = [ hatchling tomli ];
dependencies = [ fastapi httpx mcp pydantic pydantic-settings requests rich tomli typer uvicorn ];
pythonImportsCheck = [ "fastapi_mcp" ];
nativeCheckInputs = [ coverage pytest-asyncio pytest-cov-stub pytestCheckHook ];
__darwinAllowLocalNetworking = true;
meta = { description = "Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth"; homepage = "https://github.com/tadata-org/fastapi_mcp"; changelog = "https://github.com/tadata-org/fastapi_mcp/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; };}