Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1014 B
Nix
50 lines
1014 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
jupyter-core,
|
|
hatchling,
|
|
python-dateutil,
|
|
pyzmq,
|
|
tornado,
|
|
traitlets,
|
|
pythonOlder,
|
|
importlib-metadata,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyter-client";
|
|
version = "8.6.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "jupyter_client";
|
|
inherit version;
|
|
hash = "sha256-NbOglHxKbp1Ynrl9fUzV6Q+RDucxAWEfASg3Mr1tlBk=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
jupyter-core
|
|
python-dateutil
|
|
pyzmq
|
|
tornado
|
|
traitlets
|
|
]
|
|
++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
|
|
|
|
pythonImportsCheck = [ "jupyter_client" ];
|
|
|
|
# Circular dependency with ipykernel
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Jupyter protocol implementation and client libraries";
|
|
homepage = "https://github.com/jupyter/jupyter_client";
|
|
changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
|
|
license = lib.licenses.bsd3;
|
|
teams = [ lib.teams.jupyter ];
|
|
};
|
|
}
|