1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, pytest 6, mock 7, sphinx 8}: 9 10buildPythonPackage rec { 11 pname = "readthedocs-sphinx-ext"; 12 version = "2.1.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "2ba023376057c6ba5d07b4fd016ec1d526f1b4fc5ad7a7ce7f0ed8a91dc54bbe"; 17 }; 18 19 propagatedBuildInputs = [ requests ]; 20 21 checkInputs = [ pytest mock sphinx ]; 22 23 checkPhase = '' 24 py.test 25 ''; 26 27 meta = with lib; { 28 description = "Sphinx extension for Read the Docs overrides"; 29 homepage = "https://github.com/rtfd/readthedocs-sphinx-ext"; 30 license = licenses.mit; 31 }; 32}