depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

30 lines
722 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy27,
}:
buildPythonPackage rec {
pname = "sphinxcontrib-jsmath";
version = "1.0.1";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8";
};
# Check is disabled due to circular dependency of sphinx
doCheck = false;
pythonNamespaces = [ "sphinxcontrib" ];
meta = with lib; {
description = "sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML via JavaScript.";
homepage = "https://github.com/sphinx-doc/sphinxcontrib-jsmath";
license = licenses.bsd0;
maintainers = teams.sphinx.members;
};
}