92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
77 lines
1.3 KiB
Nix
77 lines
1.3 KiB
Nix
{ lib
|
|
, argon2-cffi
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, ipykernel
|
|
, ipython_genutils
|
|
, jinja2
|
|
, jupyter-client
|
|
, jupyter_core
|
|
, jupyter_server
|
|
, nbconvert
|
|
, nbformat
|
|
, nest-asyncio
|
|
, notebook
|
|
, notebook-shim
|
|
, prometheus-client
|
|
, pytest-tornasync
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pyzmq
|
|
, send2trash
|
|
, terminado
|
|
, tornado
|
|
, traitlets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbclassic";
|
|
version = "0.4.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-HgRwWDtVCJxCeUDtMbioZv/vfMqxAUlOQJ7+Wse6mJc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
argon2-cffi
|
|
ipykernel
|
|
ipython_genutils
|
|
jinja2
|
|
jupyter-client
|
|
jupyter_core
|
|
jupyter_server
|
|
nbconvert
|
|
nbformat
|
|
nest-asyncio
|
|
notebook
|
|
notebook-shim
|
|
prometheus-client
|
|
pyzmq
|
|
send2trash
|
|
terminado
|
|
tornado
|
|
traitlets
|
|
];
|
|
|
|
checkInputs = [
|
|
pytest-tornasync
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"nbclassic"
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter lab environment notebook server extension";
|
|
homepage = "https://github.com/jupyterlab/nbclassic";
|
|
license = with licenses; [ bsd3 ];
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
};
|
|
}
|