python3Packages.marklas: init at 0.8.6

This commit is contained in:
Caspersonn
2026-07-23 13:56:04 +02:00
parent 6216d84f66
commit af0e77dbc7
2 changed files with 50 additions and 0 deletions
@@ -0,0 +1,48 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
uv-build,
# dependencies
mistune,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "marklas";
version = "0.8.6";
pyproject = true;
src = fetchFromGitHub {
owner = "byExist";
repo = "marklas";
tag = "v${finalAttrs.version}";
hash = "sha256-vzjU1a/uWho9SpPO7RC3fgs3iXnh8BD3uCLTnZge2Po=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "uv_build>=0.9.21,<0.10.0" "uv_build>=0.9.21"
'';
build-system = [ uv-build ];
dependencies = [ mistune ];
pythonImportsCheck = [ "marklas" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Bidirectional converter between GitHub Flavored Markdown and Atlassian Document Format";
homepage = "https://github.com/byExist/marklas";
changelog = "https://github.com/byExist/marklas/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ caspersonn ];
};
})
+2
View File
@@ -10119,6 +10119,8 @@ self: super: with self; {
markitdown = callPackage ../development/python-modules/markitdown { };
marklas = callPackage ../development/python-modules/marklas { };
marko = callPackage ../development/python-modules/marko { };
markuppy = callPackage ../development/python-modules/markuppy { };