Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 38 lines 812 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.5"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-ZNNi5qIKRyuPbXfFGhkAIvRFzuhsXcY73apIqOp8dJQ="; 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 changelog = "https://github.com/hagenw/sphinxcontrib-katex/blob/v${version}/CHANGELOG.rst"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ jluttine ]; 37 }; 38}