2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
53 lines
965 B
Nix
53 lines
965 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, entrypoints
|
|
, jupyter-core
|
|
, hatchling
|
|
, nest-asyncio
|
|
, python-dateutil
|
|
, pyzmq
|
|
, tornado
|
|
, traitlets
|
|
, isPyPy
|
|
, py
|
|
, pythonOlder
|
|
, importlib-metadata
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyter_client";
|
|
version = "8.3.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-YClLLVuGk1bIk/V7God+plENYNRc9LOAV/FnLYVpmsk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
hatchling
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
entrypoints
|
|
jupyter-core
|
|
nest-asyncio
|
|
python-dateutil
|
|
pyzmq
|
|
tornado
|
|
traitlets
|
|
] ++ lib.optionals (pythonOlder "3.10") [
|
|
importlib-metadata
|
|
] ++ 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 ];
|
|
};
|
|
}
|