Loading pkgs/by-name/ot/oterm/package.nix +3 −3 Original line number Diff line number Diff line Loading @@ -9,14 +9,14 @@ python3Packages.buildPythonApplication rec { pname = "oterm"; version = "0.11.1"; version = "0.12.1"; pyproject = true; src = fetchFromGitHub { owner = "ggozad"; repo = "oterm"; tag = version; hash = "sha256-b/+siNzmM6RUJ3jv/2dNJJFueejChKde0D5r8J0lTqM="; hash = "sha256-6y73Lh3cV/fnvpZWzfyD4CletC4UV2zl+I7l88BYPIk="; }; pythonRelaxDeps = [ Loading @@ -37,8 +37,8 @@ python3Packages.buildPythonApplication rec { aiohttp aiosql aiosqlite fastmcp httpx jinja2 mcp ollama packaging Loading pkgs/development/python-modules/fastapi-mcp/default.nix 0 → 100644 +74 −0 Original line number Diff line number Diff line { 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 ]; 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 ]; }; } pkgs/development/python-modules/fastmcp/default.nix 0 → 100644 +73 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system hatchling, # dependencies exceptiongroup, httpx, mcp, openapi-pydantic, python-dotenv, rich, typer, websockets, # tests dirty-equals, fastapi, pytestCheckHook, }: buildPythonPackage rec { pname = "fastmcp"; version = "2.4.0"; pyproject = true; src = fetchFromGitHub { owner = "jlowin"; repo = "fastmcp"; tag = "v${version}"; hash = "sha256-F4lgMm/84svLZo6SZ7AubsC73s4tffqjJcd9gvA7hGA="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail ', "uv-dynamic-versioning>=0.7.0"' "" \ --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; build-system = [ hatchling ]; dependencies = [ exceptiongroup httpx mcp openapi-pydantic python-dotenv rich typer websockets ]; pythonImportsCheck = [ "fastmcp" ]; nativeCheckInputs = [ dirty-equals fastapi pytestCheckHook ]; meta = { description = "The fast, Pythonic way to build MCP servers and clients"; changelog = "https://github.com/jlowin/fastmcp/releases/tag/v${version}"; homepage = "https://github.com/jlowin/fastmcp"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } pkgs/development/python-modules/gliner/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies huggingface-hub, onnxruntime, sentencepiece, torch, tqdm, transformers, }: buildPythonPackage rec { pname = "gliner"; version = "0.2.20"; pyproject = true; src = fetchFromGitHub { owner = "urchade"; repo = "GLiNER"; tag = "v${version}"; hash = "sha256-aWBDnaiq9Z30YT4sszEVk1WAyU4aH8SFD6ESOBkT2ds="; }; build-system = [ setuptools ]; dependencies = [ huggingface-hub onnxruntime sentencepiece torch tqdm transformers ]; pythonImportsCheck = [ "gliner" ]; # All tests require internet doCheck = false; meta = { description = "Generalist and Lightweight Model for Named Entity Recognition"; homepage = "https://github.com/urchade/GLiNER"; changelog = "https://github.com/urchade/GLiNER/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; badPlatforms = [ # terminate called after throwing an instance of 'onnxruntime::OnnxRuntimeException' # Attempt to use DefaultLogger but none has been registered. "aarch64-linux" ]; }; } pkgs/development/python-modules/mcp/default.nix +28 −13 Original line number Diff line number Diff line { anyio, lib, buildPythonPackage, coreutils, fetchFromGitHub, # build-system hatchling, # dependencies anyio, httpx, httpx-sse, lib, pydantic, pydantic-settings, pytest-asyncio, pytest-examples, pytestCheckHook, python-dotenv, rich, python-multipart, sse-starlette, starlette, typer, uvicorn, # optional-dependencies # cli python-dotenv, typer, # rich rich, # ws websockets, # tests pytest-asyncio, pytest-examples, pytestCheckHook, requests, }: buildPythonPackage rec { pname = "mcp"; version = "1.6.0"; version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "modelcontextprotocol"; repo = "python-sdk"; tag = "v${version}"; hash = "sha256-APm3x4tcDbp8D2ygW43wFyP0llJ6fXZiINHRYShp9ZY="; hash = "sha256-UH91o2ElS0XLjH67R9QaJ/7AeX6oVkqqOc3588D4s0g="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail ', "uv-dynamic-versioning"' "" \ --replace-fail 'dynamic = ["version"]' 'version = "${version}"' substituteInPlace tests/client/test_stdio.py \ --replace '/usr/bin/tee' '${lib.getExe' coreutils "tee"}' ''; build-system = [ hatchling ]; Loading @@ -53,6 +63,7 @@ buildPythonPackage rec { httpx-sse pydantic pydantic-settings python-multipart sse-starlette starlette uvicorn Loading @@ -77,6 +88,7 @@ buildPythonPackage rec { pytest-asyncio pytest-examples pytestCheckHook requests ] ++ lib.flatten (lib.attrValues optional-dependencies); pytestFlagsArray = [ Loading @@ -89,6 +101,9 @@ buildPythonPackage rec { "test_command_execution" # performance-dependent test "test_messages_are_executed_concurrently" # ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) "test_client_session_version_negotiation_failure" ]; __darwinAllowLocalNetworking = true; Loading Loading
pkgs/by-name/ot/oterm/package.nix +3 −3 Original line number Diff line number Diff line Loading @@ -9,14 +9,14 @@ python3Packages.buildPythonApplication rec { pname = "oterm"; version = "0.11.1"; version = "0.12.1"; pyproject = true; src = fetchFromGitHub { owner = "ggozad"; repo = "oterm"; tag = version; hash = "sha256-b/+siNzmM6RUJ3jv/2dNJJFueejChKde0D5r8J0lTqM="; hash = "sha256-6y73Lh3cV/fnvpZWzfyD4CletC4UV2zl+I7l88BYPIk="; }; pythonRelaxDeps = [ Loading @@ -37,8 +37,8 @@ python3Packages.buildPythonApplication rec { aiohttp aiosql aiosqlite fastmcp httpx jinja2 mcp ollama packaging Loading
pkgs/development/python-modules/fastapi-mcp/default.nix 0 → 100644 +74 −0 Original line number Diff line number Diff line { 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 ]; 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 ]; }; }
pkgs/development/python-modules/fastmcp/default.nix 0 → 100644 +73 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system hatchling, # dependencies exceptiongroup, httpx, mcp, openapi-pydantic, python-dotenv, rich, typer, websockets, # tests dirty-equals, fastapi, pytestCheckHook, }: buildPythonPackage rec { pname = "fastmcp"; version = "2.4.0"; pyproject = true; src = fetchFromGitHub { owner = "jlowin"; repo = "fastmcp"; tag = "v${version}"; hash = "sha256-F4lgMm/84svLZo6SZ7AubsC73s4tffqjJcd9gvA7hGA="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail ', "uv-dynamic-versioning>=0.7.0"' "" \ --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; build-system = [ hatchling ]; dependencies = [ exceptiongroup httpx mcp openapi-pydantic python-dotenv rich typer websockets ]; pythonImportsCheck = [ "fastmcp" ]; nativeCheckInputs = [ dirty-equals fastapi pytestCheckHook ]; meta = { description = "The fast, Pythonic way to build MCP servers and clients"; changelog = "https://github.com/jlowin/fastmcp/releases/tag/v${version}"; homepage = "https://github.com/jlowin/fastmcp"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; }; }
pkgs/development/python-modules/gliner/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies huggingface-hub, onnxruntime, sentencepiece, torch, tqdm, transformers, }: buildPythonPackage rec { pname = "gliner"; version = "0.2.20"; pyproject = true; src = fetchFromGitHub { owner = "urchade"; repo = "GLiNER"; tag = "v${version}"; hash = "sha256-aWBDnaiq9Z30YT4sszEVk1WAyU4aH8SFD6ESOBkT2ds="; }; build-system = [ setuptools ]; dependencies = [ huggingface-hub onnxruntime sentencepiece torch tqdm transformers ]; pythonImportsCheck = [ "gliner" ]; # All tests require internet doCheck = false; meta = { description = "Generalist and Lightweight Model for Named Entity Recognition"; homepage = "https://github.com/urchade/GLiNER"; changelog = "https://github.com/urchade/GLiNER/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; badPlatforms = [ # terminate called after throwing an instance of 'onnxruntime::OnnxRuntimeException' # Attempt to use DefaultLogger but none has been registered. "aarch64-linux" ]; }; }
pkgs/development/python-modules/mcp/default.nix +28 −13 Original line number Diff line number Diff line { anyio, lib, buildPythonPackage, coreutils, fetchFromGitHub, # build-system hatchling, # dependencies anyio, httpx, httpx-sse, lib, pydantic, pydantic-settings, pytest-asyncio, pytest-examples, pytestCheckHook, python-dotenv, rich, python-multipart, sse-starlette, starlette, typer, uvicorn, # optional-dependencies # cli python-dotenv, typer, # rich rich, # ws websockets, # tests pytest-asyncio, pytest-examples, pytestCheckHook, requests, }: buildPythonPackage rec { pname = "mcp"; version = "1.6.0"; version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "modelcontextprotocol"; repo = "python-sdk"; tag = "v${version}"; hash = "sha256-APm3x4tcDbp8D2ygW43wFyP0llJ6fXZiINHRYShp9ZY="; hash = "sha256-UH91o2ElS0XLjH67R9QaJ/7AeX6oVkqqOc3588D4s0g="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail ', "uv-dynamic-versioning"' "" \ --replace-fail 'dynamic = ["version"]' 'version = "${version}"' substituteInPlace tests/client/test_stdio.py \ --replace '/usr/bin/tee' '${lib.getExe' coreutils "tee"}' ''; build-system = [ hatchling ]; Loading @@ -53,6 +63,7 @@ buildPythonPackage rec { httpx-sse pydantic pydantic-settings python-multipart sse-starlette starlette uvicorn Loading @@ -77,6 +88,7 @@ buildPythonPackage rec { pytest-asyncio pytest-examples pytestCheckHook requests ] ++ lib.flatten (lib.attrValues optional-dependencies); pytestFlagsArray = [ Loading @@ -89,6 +101,9 @@ buildPythonPackage rec { "test_command_execution" # performance-dependent test "test_messages_are_executed_concurrently" # ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) "test_client_session_version_negotiation_failure" ]; __darwinAllowLocalNetworking = true; Loading