Files
nixpkgs/pkgs/development/python-modules/nbclassic/default.nix
T
2024-05-22 17:32:03 +02:00

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 ];
};
}