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
15, notebook-shim
16, prometheus-client
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.4.8";
30 format = "setuptools";
31
32 disabled = pythonOlder "3.7";
33
34 src = fetchPypi {
35 inherit pname version;
36 hash = "sha256-x02KUA+OBY1GtXakHlvGQHEeEDLPdUHd5fc+pJSX4oM=";
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
51 notebook-shim
52 prometheus-client
53 pyzmq
54 send2trash
55 terminado
56 tornado
57 traitlets
58 ];
59
60 checkInputs = [
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}