1{ lib
2, argon2-cffi
3, buildPythonPackage
4, fetchPypi
5, ipykernel
6, ipython_genutils
7, jinja2
8, jupyter-client
9, jupyter-core
10, jupyter-server
11, nbconvert
12, nbformat
13, nest-asyncio
14, notebook-shim
15, prometheus-client
16, pytest-jupyter
17, pytest-tornasync
18, pytestCheckHook
19, pythonOlder
20, pyzmq
21, send2trash
22, terminado
23, tornado
24, traitlets
25}:
26
27buildPythonPackage rec {
28 pname = "nbclassic";
29 version = "0.5.2";
30 format = "setuptools";
31
32 disabled = pythonOlder "3.7";
33
34 src = fetchPypi {
35 inherit pname version;
36 hash = "sha256-QPEbvMWeiVbD1e8TLeyOWoU+iT7Pgx55HVTaDYpQ150=";
37 };
38
39 propagatedBuildInputs = [
40 argon2-cffi
41 ipykernel
42 ipython_genutils
43 jinja2
44 jupyter-client
45 jupyter-core
46 jupyter-server
47 nbconvert
48 nbformat
49 nest-asyncio
50 notebook-shim
51 prometheus-client
52 pyzmq
53 send2trash
54 terminado
55 tornado
56 traitlets
57 ];
58
59 nativeCheckInputs = [
60 pytest-jupyter
61 pytest-tornasync
62 pytestCheckHook
63 ];
64
65 pythonImportsCheck = [
66 "nbclassic"
67 ];
68
69 __darwinAllowLocalNetworking = true;
70
71 meta = with lib; {
72 description = "Jupyter lab environment notebook server extension";
73 homepage = "https://github.com/jupyterlab/nbclassic";
74 license = with licenses; [ bsd3 ];
75 maintainers = with maintainers; [ elohmeier ];
76 };
77}