Files
mcp-servers/packages/pdf-mcp/package.nix
T
hermes-agent eab27798b2
NixOS Configuration CI / Nix Flake Check (push) Successful in 11s
pdf-mcp: use fetchFromGitea for hermes-agent fork
2026-09-09 15:06:05 +00:00

41 lines
898 B
Nix

{
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 = [ ];
};
}