2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-09-18 10:52:07 +00:00
|
|
|
, entrypoints
|
2023-01-20 10:41:00 +00:00
|
|
|
, jupyter-core
|
2022-08-12 12:06:08 +00:00
|
|
|
, hatchling
|
2021-09-18 10:52:07 +00:00
|
|
|
, nest-asyncio
|
2021-07-04 02:40:35 +00:00
|
|
|
, python-dateutil
|
2021-09-18 10:52:07 +00:00
|
|
|
, pyzmq
|
|
|
|
, tornado
|
|
|
|
, traitlets
|
2020-04-24 23:36:52 +00:00
|
|
|
, isPyPy
|
|
|
|
, py
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "jupyter_client";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "8.0.3";
|
2022-08-12 12:06:08 +00:00
|
|
|
format = "pyproject";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-12-06 16:07:01 +00:00
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-7WVJi+pth2752No+DbPdM8XRKfWyZF9WrgOZN4KWa9A=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
hatchling
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
2021-09-18 10:52:07 +00:00
|
|
|
entrypoints
|
2023-01-20 10:41:00 +00:00
|
|
|
jupyter-core
|
2021-09-18 10:52:07 +00:00
|
|
|
nest-asyncio
|
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
|
2020-04-24 23:36:52 +00:00
|
|
|
] ++ lib.optional isPyPy py;
|
|
|
|
|
|
|
|
# Circular dependency with ipykernel
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Jupyter protocol implementation and client libraries";
|
|
|
|
homepage = "https://jupyter.org/";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
|
|
|
}
|