1{ lib 2, buildPythonPackage 3, fetchPypi 4, entrypoints 5, jupyter-core 6, hatchling 7, nest-asyncio 8, python-dateutil 9, pyzmq 10, tornado 11, traitlets 12, isPyPy 13, py 14, pythonOlder 15, importlib-metadata 16}: 17 18buildPythonPackage rec { 19 pname = "jupyter_client"; 20 version = "8.3.1"; 21 format = "pyproject"; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-YClLLVuGk1bIk/V7God+plENYNRc9LOAV/FnLYVpmsk="; 26 }; 27 28 nativeBuildInputs = [ 29 hatchling 30 ]; 31 32 propagatedBuildInputs = [ 33 entrypoints 34 jupyter-core 35 nest-asyncio 36 python-dateutil 37 pyzmq 38 tornado 39 traitlets 40 ] ++ lib.optionals (pythonOlder "3.10") [ 41 importlib-metadata 42 ] ++ lib.optional isPyPy py; 43 44 # Circular dependency with ipykernel 45 doCheck = false; 46 47 meta = { 48 description = "Jupyter protocol implementation and client libraries"; 49 homepage = "https://jupyter.org/"; 50 license = lib.licenses.bsd3; 51 maintainers = with lib.maintainers; [ fridh ]; 52 }; 53}