1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 requests, 7 pytestCheckHook, 8 mock, 9 sphinx, 10}: 11 12buildPythonPackage rec { 13 pname = "readthedocs-sphinx-ext"; 14 version = "2.2.5"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-7l/VuZ258MGAsjlsvOUoqjZnGVG5UmuwJy2/zlUXvSc="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 propagatedBuildInputs = [ requests ]; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 mock 29 sphinx 30 ]; 31 32 meta = with lib; { 33 description = "Sphinx extension for Read the Docs overrides"; 34 homepage = "https://github.com/rtfd/readthedocs-sphinx-ext"; 35 license = licenses.mit; 36 }; 37}