summary refs log tree commit diff
path: root/pkgs/development/python-modules/sphinx_rtd_theme
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-20 19:57:06 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-20 19:57:06 +0100
commit8cf396442dde4bbdf16f295bd4baa584d86fe7d7 (patch)
tree0e93090f897476deb4173742a7e3ebff85e319cf /pkgs/development/python-modules/sphinx_rtd_theme
parent4b8049ee4a6c90b7429fbc149d963bc8c75b7d2e (diff)
downloadnixpkgs-8cf396442dde4bbdf16f295bd4baa584d86fe7d7.tar
nixpkgs-8cf396442dde4bbdf16f295bd4baa584d86fe7d7.tar.gz
nixpkgs-8cf396442dde4bbdf16f295bd4baa584d86fe7d7.tar.bz2
nixpkgs-8cf396442dde4bbdf16f295bd4baa584d86fe7d7.tar.lz
nixpkgs-8cf396442dde4bbdf16f295bd4baa584d86fe7d7.tar.xz
nixpkgs-8cf396442dde4bbdf16f295bd4baa584d86fe7d7.tar.zst
nixpkgs-8cf396442dde4bbdf16f295bd4baa584d86fe7d7.zip
python.pkgs.sphinx_rtd_theme: fix tests
Diffstat (limited to 'pkgs/development/python-modules/sphinx_rtd_theme')
-rw-r--r--pkgs/development/python-modules/sphinx_rtd_theme/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sphinx_rtd_theme/default.nix b/pkgs/development/python-modules/sphinx_rtd_theme/default.nix
index fcdb3abbe66..515f6b6156a 100644
--- a/pkgs/development/python-modules/sphinx_rtd_theme/default.nix
+++ b/pkgs/development/python-modules/sphinx_rtd_theme/default.nix
@@ -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/;