nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 879 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 sphinx, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "sphinxcontrib-katex"; 12 version = "0.9.11"; 13 pyproject = true; 14 15 src = fetchPypi { 16 pname = "sphinxcontrib_katex"; 17 inherit version; 18 hash = "sha256-LTKyENILvuRRpR0ZZF9v719VaLmlTigTr/uW76ZhI4o="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ sphinx ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 pythonImportsCheck = [ "sphinxcontrib.katex" ]; 28 29 pythonNamespaces = [ "sphinxcontrib" ]; 30 31 meta = { 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 = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ jluttine ]; 37 }; 38}