{ lib, python3Packages, fetchFromGitea, }: python3Packages.buildPythonApplication rec { pname = "pdf-mcp"; version = "0.1.1-unstable-2026-07-30"; src = fetchFromGitea { domain = "gitea.bueso.eu"; owner = "hermes-agent"; repo = "pdf-mcp"; rev = "356e476d1dd0d2d9eb866df7c6f82a21018351c8"; hash = "sha256-whfXjMQIUt94VEeo6Fdvdr96WV3HNNNVuL1gtkt4g7M="; }; pyproject = true; build-system = with python3Packages; [ hatchling ]; dependencies = with python3Packages; [ mcp pymupdf pymupdf4llm ]; doCheck = false; pythonImportsCheck = [ "pdf_mcp" ]; meta = with lib; { description = "MCP server for reading, rendering, and searching PDF files (PyMuPDF)"; homepage = "https://gitea.bueso.eu/hermes-agent/pdf-mcp"; license = licenses.mit; mainProgram = "pdf-mcp"; platforms = platforms.all; maintainers = [ ]; }; }