mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 14:14:20 +00:00
python312Packages.sphinx-rtd-dark-mode: drop nose dependency
This commit is contained in:
parent
e36e9f5733
commit
555624667d
@ -2,8 +2,7 @@
|
|||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
lib,
|
lib,
|
||||||
pythonOlder,
|
pytestCheckHook,
|
||||||
nose,
|
|
||||||
setuptools,
|
setuptools,
|
||||||
sphinx,
|
sphinx,
|
||||||
sphinx-rtd-theme,
|
sphinx-rtd-theme,
|
||||||
@ -25,21 +24,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
dependencies = [ sphinx-rtd-theme ];
|
dependencies = [ sphinx-rtd-theme ];
|
||||||
|
|
||||||
# tests rely on nose
|
|
||||||
doCheck = pythonOlder "3.12";
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
nose
|
pytestCheckHook
|
||||||
sphinx
|
sphinx
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pytestFlagsArray = [ "tests/build.py" ];
|
||||||
runHook preCheck
|
|
||||||
|
|
||||||
nosetests tests
|
|
||||||
|
|
||||||
runHook postCheck
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "sphinx_rtd_dark_mode" ];
|
pythonImportsCheck = [ "sphinx_rtd_dark_mode" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user