5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
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 ];
|
|
};
|
|
}
|