2021-03-23 19:22:30 +00:00
|
|
|
{ lib
|
2022-10-21 18:38:19 +00:00
|
|
|
, argon2-cffi
|
2021-03-23 19:22:30 +00:00
|
|
|
, buildPythonPackage
|
2022-08-21 13:32:41 +00:00
|
|
|
, fetchPypi
|
2022-10-21 18:38:19 +00:00
|
|
|
, ipykernel
|
|
|
|
, ipython_genutils
|
|
|
|
, jinja2
|
|
|
|
, jupyter-client
|
|
|
|
, jupyter_core
|
|
|
|
, jupyter_server
|
|
|
|
, nbconvert
|
|
|
|
, nbformat
|
|
|
|
, nest-asyncio
|
2021-03-23 19:22:30 +00:00
|
|
|
, notebook
|
2022-08-21 13:32:41 +00:00
|
|
|
, notebook-shim
|
2022-10-21 18:38:19 +00:00
|
|
|
, prometheus-client
|
2021-03-23 19:22:30 +00:00
|
|
|
, pytest-tornasync
|
2022-10-21 18:38:19 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pyzmq
|
|
|
|
, send2trash
|
|
|
|
, terminado
|
|
|
|
, tornado
|
|
|
|
, traitlets
|
2021-03-23 19:22:30 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclassic";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.4.6";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-03-23 19:22:30 +00:00
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-10-21 18:38:19 +00:00
|
|
|
hash = "sha256-PBjTQ7KS+TjvyTIFdh5nTyDsoG6tJeDu3Bf3riUr9W0=";
|
2021-03-23 19:22:30 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
argon2-cffi
|
|
|
|
ipykernel
|
|
|
|
ipython_genutils
|
|
|
|
jinja2
|
|
|
|
jupyter-client
|
|
|
|
jupyter_core
|
|
|
|
jupyter_server
|
|
|
|
nbconvert
|
|
|
|
nbformat
|
|
|
|
nest-asyncio
|
|
|
|
notebook
|
|
|
|
notebook-shim
|
|
|
|
prometheus-client
|
|
|
|
pyzmq
|
|
|
|
send2trash
|
|
|
|
terminado
|
|
|
|
tornado
|
|
|
|
traitlets
|
|
|
|
];
|
2021-03-23 19:22:30 +00:00
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest-tornasync
|
2022-10-21 18:38:19 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"nbclassic"
|
2021-03-23 19:22:30 +00:00
|
|
|
];
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-03-23 19:22:30 +00:00
|
|
|
meta = with lib; {
|
2022-10-21 18:38:19 +00:00
|
|
|
description = "Jupyter lab environment notebook server extension";
|
2021-03-23 19:22:30 +00:00
|
|
|
homepage = "https://github.com/jupyterlab/nbclassic";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
maintainers = with maintainers; [ elohmeier ];
|
2021-03-23 19:22:30 +00:00
|
|
|
};
|
|
|
|
}
|