at 24.11-pre 37 lines 850 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 sphinx, 7}: 8 9buildPythonPackage rec { 10 pname = "sphinxcontrib-katex"; 11 version = "0.9.9"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-1ZTILfVLBI1Z1I5GsQn2IhezEaublSCMq5bZAvmj/ik="; 19 }; 20 21 propagatedBuildInputs = [ sphinx ]; 22 23 # There are no unit tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "sphinxcontrib.katex" ]; 27 28 pythonNamespaces = [ "sphinxcontrib" ]; 29 30 meta = with lib; { 31 description = "Sphinx extension using KaTeX to render math in HTML"; 32 homepage = "https://github.com/hagenw/sphinxcontrib-katex"; 33 changelog = "https://github.com/hagenw/sphinxcontrib-katex/blob/v${version}/CHANGELOG.rst"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ jluttine ]; 36 }; 37}