python3Packages.sphinx-markdown-builder: init at 0.6.8 (#357535)

This commit is contained in:
Arne Keller
2025-03-03 08:31:57 +01:00
committed by GitHub
2 changed files with 95 additions and 0 deletions
@@ -0,0 +1,93 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
nix-update-script,
# build system
setuptools,
wheel,
# deps
docutils,
sphinx,
tabulate,
# tests
pytestCheckHook,
# optional deps
black,
bumpver,
coveralls,
flake8,
isort,
pip-tools,
pylint,
pytest,
pytest-cov,
sphinxcontrib-httpdomain,
sphinxcontrib-plantuml,
}:
buildPythonPackage rec {
pname = "sphinx-markdown-builder";
version = "0.6.8";
pyproject = true;
src = fetchFromGitHub {
owner = "liran-funaro";
repo = "sphinx-markdown-builder";
tag = version;
hash = "sha256-dPMOOG3myh9i2ez9uhasqLnlV0BEsE9CHEbZ57VWzAo=";
};
build-system = [
setuptools
wheel
];
dependencies = [
docutils
sphinx
tabulate
];
optional-dependencies = {
dev = [
black
bumpver
coveralls
flake8
isort
pip-tools
pylint
pytest
pytest-cov
sphinx
sphinxcontrib-httpdomain
sphinxcontrib-plantuml
];
};
pythonImportsCheck = [
"sphinx_markdown_builder"
];
nativeCheckInputs = [
pytestCheckHook
];
# NOTE: not sure why, but a `Missing dependencies: wheel` error happens when
# `black` is included here, with python3.13
checkInputs = lib.remove black optional-dependencies.dev;
passthru.updateScript = nix-update-script { };
meta = {
description = "Sphinx extension to add markdown generation support";
homepage = "https://github.com/liran-funaro/sphinx-markdown-builder";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eljamm ];
};
}
+2
View File
@@ -15640,6 +15640,8 @@ self: super: with self; {
sphinx-jinja = callPackage ../development/python-modules/sphinx-jinja { };
sphinx-markdown-builder = callPackage ../development/python-modules/sphinx-markdown-builder { };
sphinx-markdown-parser = callPackage ../development/python-modules/sphinx-markdown-parser { };
sphinx-markdown-tables = callPackage ../development/python-modules/sphinx-markdown-tables { };