Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 73 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, pythonOlder, fetchPypi, hatch-jupyter-builder, hatchling, jupyter-server, jupyterlab, jupyterlab-server, notebook-shim, tornado, pytest-jupyter, pytestCheckHook,}:
buildPythonPackage rec { pname = "notebook"; version = "7.2.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-LvB9QiBCFiOtP+iBGNaHvARQBVVwzdFggUpZzzocUW4="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace "timeout = 300" "" '';
build-system = [ hatch-jupyter-builder hatchling jupyterlab ];
dependencies = [ jupyter-server jupyterlab jupyterlab-server notebook-shim tornado ];
nativeCheckInputs = [ pytest-jupyter pytestCheckHook ];
pytestFlagsArray = [ "-W" "ignore::DeprecationWarning" ];
env = { JUPYTER_PLATFORM_DIRS = 1; };
# Some of the tests use localhost networking. __darwinAllowLocalNetworking = true;
meta = { changelog = "https://github.com/jupyter/notebook/blob/v${version}/CHANGELOG.md"; description = "Web-based notebook environment for interactive computing"; homepage = "https://github.com/jupyter/notebook"; license = lib.licenses.bsd3; maintainers = lib.teams.jupyter.members; mainProgram = "jupyter-notebook"; };}