Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 59 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, pythonAtLeast, fetchPypi, hatchling, hatch-nodejs-version, fastjsonschema, jsonschema, jupyter-core, traitlets, pep440, pytestCheckHook, testpath,}:
buildPythonPackage rec { pname = "nbformat"; version = "5.10.4"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-MiFosU+Tel0RNimI7KwqSVLT2OOiy+sjGVhGMSJtWzo="; };
build-system = [ hatchling hatch-nodejs-version ];
dependencies = [ fastjsonschema jsonschema jupyter-core traitlets ];
pythonImportsCheck = [ "nbformat" ];
nativeCheckInputs = [ pep440 pytestCheckHook testpath ];
pytestFlags = [ "-Wignore::pytest.PytestUnraisableExceptionWarning" ];
# Some of the tests use localhost networking. __darwinAllowLocalNetworking = true;
meta = { description = "Jupyter Notebook format"; mainProgram = "jupyter-trust"; homepage = "https://jupyter.org/"; license = lib.licenses.bsd3; maintainers = [ ]; };}