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
|
2023-10-19 13:55:26 +00:00
|
|
|
, ipython-genutils
|
2022-10-21 18:38:19 +00:00
|
|
|
, jinja2
|
|
|
|
, jupyter-client
|
2023-01-20 10:41:00 +00:00
|
|
|
, jupyter-core
|
|
|
|
, jupyter-server
|
2022-10-21 18:38:19 +00:00
|
|
|
, nbconvert
|
|
|
|
, nbformat
|
|
|
|
, nest-asyncio
|
2022-08-21 13:32:41 +00:00
|
|
|
, notebook-shim
|
2022-10-21 18:38:19 +00:00
|
|
|
, prometheus-client
|
2023-01-20 10:41:00 +00:00
|
|
|
, pytest-jupyter
|
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";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.0.0";
|
2022-10-21 18:38:19 +00:00
|
|
|
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;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-CuEesjGUVdgFWWvzIDNs2pVUtB2Zq5o8Mb+BgL/6MOM=";
|
2021-03-23 19:22:30 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
argon2-cffi
|
|
|
|
ipykernel
|
2023-10-19 13:55:26 +00:00
|
|
|
ipython-genutils
|
2022-10-21 18:38:19 +00:00
|
|
|
jinja2
|
|
|
|
jupyter-client
|
2023-01-20 10:41:00 +00:00
|
|
|
jupyter-core
|
|
|
|
jupyter-server
|
2022-10-21 18:38:19 +00:00
|
|
|
nbconvert
|
|
|
|
nbformat
|
|
|
|
nest-asyncio
|
|
|
|
notebook-shim
|
|
|
|
prometheus-client
|
|
|
|
pyzmq
|
|
|
|
send2trash
|
|
|
|
terminado
|
|
|
|
tornado
|
|
|
|
traitlets
|
|
|
|
];
|
2021-03-23 19:22:30 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
pytest-jupyter
|
2021-03-23 19:22:30 +00:00
|
|
|
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";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/jupyter/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
|
|
|
};
|
|
|
|
}
|