2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
jupyter-core,
|
|
|
|
hatchling,
|
|
|
|
python-dateutil,
|
|
|
|
pyzmq,
|
|
|
|
tornado,
|
|
|
|
traitlets,
|
|
|
|
pythonOlder,
|
|
|
|
importlib-metadata,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-01-02 11:29:13 +00:00
|
|
|
pname = "jupyter-client";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "8.6.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-01-02 11:29:13 +00:00
|
|
|
pname = "jupyter_client";
|
|
|
|
inherit version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-K9oU1V7lulhVKoxTrkPSFa2YaIU0iSE/N9oGDO1U2N8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ hatchling ];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
dependencies = [
|
2023-01-20 10:41:00 +00:00
|
|
|
jupyter-core
|
2021-07-04 02:40:35 +00:00
|
|
|
python-dateutil
|
2021-09-18 10:52:07 +00:00
|
|
|
pyzmq
|
2020-04-24 23:36:52 +00:00
|
|
|
tornado
|
2021-09-18 10:52:07 +00:00
|
|
|
traitlets
|
2024-06-05 15:53:02 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "jupyter_client" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Circular dependency with ipykernel
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Jupyter protocol implementation and client libraries";
|
2024-01-02 11:29:13 +00:00
|
|
|
homepage = "https://github.com/jupyter/jupyter_client";
|
|
|
|
changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.bsd3;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = lib.teams.jupyter.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|