python.pkgs.sphinx_rtd_theme: fix tests

This commit is contained in:
Robert Schütz 2019-02-20 19:57:06 +01:00
parent 4b8049ee4a
commit 8cf396442d

View File

@ -2,6 +2,8 @@
, buildPythonPackage
, fetchPypi
, sphinx
, readthedocs-sphinx-ext
, pytest
}:
buildPythonPackage rec {
@ -15,6 +17,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ sphinx ];
checkInputs = [ readthedocs-sphinx-ext pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "ReadTheDocs.org theme for Sphinx";
homepage = https://github.com/snide/sphinx_rtd_theme/;