2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
babel,
|
|
|
|
ipykernel,
|
|
|
|
ipython-genutils,
|
|
|
|
jupyter-packaging,
|
|
|
|
jupyter-server,
|
|
|
|
nest-asyncio,
|
|
|
|
notebook-shim,
|
|
|
|
pytest-jupyter,
|
|
|
|
pytest-tornasync,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2021-03-23 19:22:30 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbclassic";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "1.1.0";
|
|
|
|
pyproject = true;
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-03-23 19:22:30 +00:00
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-d7d7qF+emI+brYXfNFtRTp5kx/DoIpkqsd9KeKxk/B4=";
|
2021-03-23 19:22:30 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [
|
|
|
|
babel
|
|
|
|
jupyter-packaging
|
|
|
|
jupyter-server
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
2022-10-21 18:38:19 +00:00
|
|
|
ipykernel
|
2023-10-19 13:55:26 +00:00
|
|
|
ipython-genutils
|
2022-10-21 18:38:19 +00:00
|
|
|
nest-asyncio
|
|
|
|
notebook-shim
|
|
|
|
];
|
2021-03-23 19:22:30 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
pytest-jupyter
|
2021-03-23 19:22:30 +00:00
|
|
|
pytest-tornasync
|
2022-10-21 18:38:19 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "nbclassic" ];
|
2021-03-23 19:22:30 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-03-23 19:22:30 +00:00
|
|
|
meta = with lib; {
|
2022-10-21 18:38:19 +00:00
|
|
|
description = "Jupyter lab environment notebook server extension";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/jupyter/nbclassic";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = with licenses; [ bsd3 ];
|
2021-03-23 19:22:30 +00:00
|
|
|
};
|
|
|
|
}
|