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