python.pkgs.sphinx_rtd_theme: fix tests
This commit is contained in:
parent
4b8049ee4a
commit
8cf396442d
|
@ -2,6 +2,8 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, sphinx
|
, sphinx
|
||||||
|
, readthedocs-sphinx-ext
|
||||||
|
, pytest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -15,6 +17,12 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ sphinx ];
|
propagatedBuildInputs = [ sphinx ];
|
||||||
|
|
||||||
|
checkInputs = [ readthedocs-sphinx-ext pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "ReadTheDocs.org theme for Sphinx";
|
description = "ReadTheDocs.org theme for Sphinx";
|
||||||
homepage = https://github.com/snide/sphinx_rtd_theme/;
|
homepage = https://github.com/snide/sphinx_rtd_theme/;
|
||||||
|
|
Loading…
Reference in New Issue