39 lines
892 B
Nix
39 lines
892 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "docx-mcp";
|
|
version = "2.0.0-unstable-2026-07-13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Rookie0x80";
|
|
repo = "docx-mcp";
|
|
rev = "b6188eaa57d2694b8f70217e8f6a15980b22ec16";
|
|
hash = "sha256-JjcQjwTiJvO6f0f+iiLgm24Rjms8+xehXHsAD6L+TEY=";
|
|
};
|
|
|
|
pyproject = true;
|
|
|
|
build-system = with python3Packages; [ setuptools ];
|
|
|
|
dependencies = with python3Packages; [
|
|
python-docx
|
|
fastmcp
|
|
typing-extensions
|
|
];
|
|
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "docx_mcp" ];
|
|
|
|
meta = with lib; {
|
|
description = "MCP server for Microsoft Word .docx operations using python-docx (table-focused)";
|
|
homepage = "https://github.com/Rookie0x80/docx-mcp";
|
|
license = licenses.mit;
|
|
mainProgram = "docx-mcp";
|
|
platforms = platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
} |