bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
58 lines
1,011 B
Nix
58 lines
1,011 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
babel,
|
|
ipykernel,
|
|
ipython-genutils,
|
|
jupyter-packaging,
|
|
jupyter-server,
|
|
nest-asyncio,
|
|
notebook-shim,
|
|
pytest-jupyter,
|
|
pytest-tornasync,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbclassic";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-d7d7qF+emI+brYXfNFtRTp5kx/DoIpkqsd9KeKxk/B4=";
|
|
};
|
|
|
|
build-system = [
|
|
babel
|
|
jupyter-packaging
|
|
jupyter-server
|
|
];
|
|
|
|
dependencies = [
|
|
ipykernel
|
|
ipython-genutils
|
|
nest-asyncio
|
|
notebook-shim
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|