diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-10-20 16:33:20 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-10-22 10:16:20 -0700 |
commit | de0f40c837232761068bba96adf0da20abe13f3d (patch) | |
tree | b21a898208fd11046e646f7ad3a2398560f09c0d /pkgs/development/python-modules/jupyter-server-mathjax | |
parent | 0609c19992c7cd6181ed1e739cb716a66be0368f (diff) |
python3Packages.jupyter-server-mathjax: init at 0.2.3
Diffstat (limited to 'pkgs/development/python-modules/jupyter-server-mathjax')
-rw-r--r-- | pkgs/development/python-modules/jupyter-server-mathjax/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jupyter-server-mathjax/default.nix b/pkgs/development/python-modules/jupyter-server-mathjax/default.nix new file mode 100644 index 0000000000000..9aff01cd9d380 --- /dev/null +++ b/pkgs/development/python-modules/jupyter-server-mathjax/default.nix @@ -0,0 +1,39 @@ +{ lib, buildPythonPackage, fetchPypi +, jupyter-packaging +, jupyter_server +, pytest-tornasync +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "jupyter-server-mathjax"; + version = "0.2.3"; + + src = fetchPypi { + inherit version; + pname = "jupyter_server_mathjax"; + sha256 = "564e8d1272019c6771208f577b5f9f2b3afb02b9e2bff3b34c042cef8ed84451"; + }; + + nativeBuildInputs = [ + jupyter-packaging + ]; + + propagatedBuildInputs = [ + jupyter_server + ]; + + checkInputs = [ + pytest-tornasync + pytestCheckHook + ]; + + pythonImportsCheck = [ "jupyter_server_mathjax" ]; + + meta = with lib; { + description = "MathJax resources as a Jupyter Server Extension"; + homepage = "http://jupyter.org"; + license = licenses.bsd3; + maintainers = with maintainers; [ jonringer ]; + }; +} |