python3Packages.sphinx-markdown-builder: remove superfluous dependencies (#500903)
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
|
||||
# build system
|
||||
setuptools,
|
||||
wheel,
|
||||
|
||||
# deps
|
||||
docutils,
|
||||
@@ -15,19 +14,7 @@
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
|
||||
# optional deps
|
||||
black,
|
||||
bumpver,
|
||||
coveralls,
|
||||
flake8,
|
||||
isort,
|
||||
pip-tools,
|
||||
pylint,
|
||||
pytest,
|
||||
pytest-cov,
|
||||
sphinxcontrib-httpdomain,
|
||||
sphinxcontrib-plantuml,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -44,7 +31,6 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
@@ -53,35 +39,15 @@ buildPythonPackage rec {
|
||||
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
|
||||
sphinxcontrib-httpdomain
|
||||
];
|
||||
|
||||
# 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 = {
|
||||
|
||||
Reference in New Issue
Block a user