markitdown-mcp: init at 0.1.5b1
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "markitdown-mcp";
|
||||
version = "0.1.5b1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "markitdown";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-twZEkUih76QEl2dkh81eCBnfX/+tKAHI9wDyCkjfOsQ=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/packages/markitdown-mcp";
|
||||
|
||||
build-system = [
|
||||
python3Packages.hatchling
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"mcp"
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
markitdown
|
||||
mcp
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"markitdown_mcp"
|
||||
];
|
||||
|
||||
passthru.updateScripts = gitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "An MCP server for the \"markitdown\" library";
|
||||
homepage = "https://github.com/microsoft/markitdown/tree/main/packages/markitdown-mcp";
|
||||
changelog = "https://github.com/microsoft/markitdown/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ malik ];
|
||||
mainProgram = "markitdown-mcp";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user