1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy27, 6}: 7 8buildPythonPackage rec { 9 pname = "sphinxcontrib-jsmath"; 10 version = "1.0.1"; 11 format = "setuptools"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"; 17 }; 18 19 # Check is disabled due to circular dependency of sphinx 20 doCheck = false; 21 22 pythonNamespaces = [ "sphinxcontrib" ]; 23 24 meta = with lib; { 25 description = "Sphinx extension which renders display math in HTML via JavaScript"; 26 homepage = "https://github.com/sphinx-doc/sphinxcontrib-jsmath"; 27 license = licenses.bsd0; 28 teams = [ teams.sphinx ]; 29 }; 30}