depot/third_party/nixpkgs/pkgs/development/python-modules/nbclassic/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +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 = "0.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-QPEbvMWeiVbD1e8TLeyOWoU+iT7Pgx55HVTaDYpQ150=";
};
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 ];
};
}