0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
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.4.8";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-EJo8M7YqnPZaqDJYUKCZmnlfrBVdneT3VVrvXzEO41o=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|