Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, sphinx 5, readthedocs-sphinx-ext 6, pytest 7}: 8 9buildPythonPackage rec { 10 pname = "sphinx_rtd_theme"; 11 version = "0.4.3"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a"; 16 }; 17 18 propagatedBuildInputs = [ sphinx ]; 19 20 checkInputs = [ readthedocs-sphinx-ext pytest ]; 21 22 checkPhase = '' 23 py.test 24 ''; 25 26 meta = with stdenv.lib; { 27 description = "ReadTheDocs.org theme for Sphinx"; 28 homepage = https://github.com/snide/sphinx_rtd_theme/; 29 license = licenses.bsd3; 30 platforms = platforms.unix; 31 }; 32 33}