b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
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-shim
|
|
, prometheus-client
|
|
, pytest-jupyter
|
|
, pytest-tornasync
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pyzmq
|
|
, send2trash
|
|
, terminado
|
|
, tornado
|
|
, traitlets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbclassic";
|
|
version = "1.0.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-CuEesjGUVdgFWWvzIDNs2pVUtB2Zq5o8Mb+BgL/6MOM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
argon2-cffi
|
|
ipykernel
|
|
ipython-genutils
|
|
jinja2
|
|
jupyter-client
|
|
jupyter-core
|
|
jupyter-server
|
|
nbconvert
|
|
nbformat
|
|
nest-asyncio
|
|
notebook-shim
|
|
prometheus-client
|
|
pyzmq
|
|
send2trash
|
|
terminado
|
|
tornado
|
|
traitlets
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-jupyter
|
|
pytest-tornasync
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"nbclassic"
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter lab environment notebook server extension";
|
|
homepage = "https://github.com/jupyter/nbclassic";
|
|
license = with licenses; [ bsd3 ];
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
};
|
|
}
|