mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 21:53:24 +00:00
python312Packages.sphinx-rtd-dark-mode: drop nose dependency
This commit is contained in:
parent
e36e9f5733
commit
555624667d
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user