2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-09-18 10:52:07 +00:00
|
|
|
, entrypoints
|
2020-04-24 23:36:52 +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";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "7.3.4";
|
|
|
|
format = "pyproject";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-12-06 16:07:01 +00:00
|
|
|
inherit pname version;
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-qppsMgVLKQN0+V9zuwyukUVcWN+4T2XIWRkSuPZebVY=";
|
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
|
2020-04-24 23:36:52 +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 ];
|
|
|
|
};
|
|
|
|
}
|