02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
49 lines
865 B
Nix
49 lines
865 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, entrypoints
|
|
, jupyter_core
|
|
, hatchling
|
|
, nest-asyncio
|
|
, python-dateutil
|
|
, pyzmq
|
|
, tornado
|
|
, traitlets
|
|
, isPyPy
|
|
, py
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyter_client";
|
|
version = "7.3.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-qppsMgVLKQN0+V9zuwyukUVcWN+4T2XIWRkSuPZebVY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
hatchling
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
entrypoints
|
|
jupyter_core
|
|
nest-asyncio
|
|
python-dateutil
|
|
pyzmq
|
|
tornado
|
|
traitlets
|
|
] ++ 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 ];
|
|
};
|
|
}
|