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
|
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-03-15 16:39:30 +00:00
|
|
|
version = "0.5.2";
|
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-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-QPEbvMWeiVbD1e8TLeyOWoU+iT7Pgx55HVTaDYpQ150=";
|
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
|
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";
|
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
|
|
|
};
|
|
|
|
}
|