Files
nixpkgs/pkgs/development/python-modules/nbclassic/default.nix
T
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

78 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.4.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-x02KUA+OBY1GtXakHlvGQHEeEDLPdUHd5fc+pJSX4oM=";
};
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/jupyterlab/nbclassic";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ elohmeier ];
};
}