Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / nbclassic / default.nix
blobd4730414006cac4503379d92954cbdeee76858a0
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
27 buildPythonPackage rec {
28   pname = "nbclassic";
29   version = "1.0.0";
30   format = "setuptools";
32   disabled = pythonOlder "3.7";
34   src = fetchPypi {
35     inherit pname version;
36     hash = "sha256-CuEesjGUVdgFWWvzIDNs2pVUtB2Zq5o8Mb+BgL/6MOM=";
37   };
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   ];
59   nativeCheckInputs = [
60     pytest-jupyter
61     pytest-tornasync
62     pytestCheckHook
63   ];
65   pythonImportsCheck = [
66     "nbclassic"
67   ];
69   __darwinAllowLocalNetworking = true;
71   meta = with lib; {
72     description = "Jupyter lab environment notebook server extension";
73     homepage = "https://github.com/jupyter/nbclassic";
74     license = with licenses; [ bsd3 ];
75     maintainers = with maintainers; [ elohmeier ];
76   };