python310Packages.myst-nb: init at 0.16.0

This commit is contained in:
Mario Rodas 2022-07-01 04:20:00 +00:00
parent 4c2ff9c6f5
commit 543652ab74
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,56 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flit-core
, importlib-metadata
, ipython
, jupyter-cache
, nbclient
, myst-parser
, nbformat
, pyyaml
, sphinx
, sphinx-togglebutton
, typing-extensions
, ipykernel
}:
buildPythonPackage rec {
pname = "myst-nb";
version = "0.16.0";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "9c7ab37929da72f78569a37bcccbc5d49fd679fd7935bf6c9fa36365eb58783a";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
importlib-metadata
ipython
jupyter-cache
nbclient
myst-parser
nbformat
pyyaml
sphinx
sphinx-togglebutton
typing-extensions
ipykernel
];
pythonImportsCheck = [ "myst_nb" ];
meta = with lib; {
description = "A Jupyter Notebook Sphinx reader built on top of the MyST markdown parser";
homepage = "https://github.com/executablebooks/myst-nb";
license = licenses.mit;
maintainers = with maintainers; [ marsam ];
};
}

View file

@ -5676,6 +5676,8 @@ in {
mysql-connector = callPackage ../development/python-modules/mysql-connector { };
myst-nb = callPackage ../development/python-modules/myst-nb { };
myst-parser = callPackage ../development/python-modules/myst-parser { };
nad-receiver = callPackage ../development/python-modules/nad-receiver { };