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
1 changed files with 8 additions and 0 deletions

View File

@ -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/;