Files
nixpkgs/pkgs/development/python-modules/nbformat/default.nix
Fabian Affolter e141dada02 python3Packages.nbformat: 5.10.4 -> 5.11.1
This commit was automatically generated using update-python-libraries.
2026-10-08 18:50:27 +02:00

60 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
pythonAtLeast,
fetchPypi,
hatchling,
hatch-nodejs-version,
fastjsonschema,
jsonschema,
jupyter-core,
traitlets,
pep440,
pytestCheckHook,
testpath,
}:
buildPythonPackage rec {
pname = "nbformat";
version = "5.11.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-MtRSHGjG59WynHbe+u7Z9C6nMxQrmxn4gnfOEDkLnE0=";
};
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 = [ ];
};
}