python312Packages.sphinx-rtd-dark-mode: drop nose dependency

This commit is contained in:
Sigmanificient 2024-07-27 13:06:55 +02:00
parent e36e9f5733
commit 555624667d

View File

@ -2,8 +2,7 @@
buildPythonPackage,
fetchFromGitHub,
lib,
pythonOlder,
nose,
pytestCheckHook,
setuptools,
sphinx,
sphinx-rtd-theme,
@ -25,21 +24,12 @@ buildPythonPackage rec {
dependencies = [ sphinx-rtd-theme ];
# tests rely on nose
doCheck = pythonOlder "3.12";
nativeCheckInputs = [
nose
pytestCheckHook
sphinx
];
checkPhase = ''
runHook preCheck
nosetests tests
runHook postCheck
'';
pytestFlagsArray = [ "tests/build.py" ];
pythonImportsCheck = [ "sphinx_rtd_dark_mode" ];