blob: ad428c1c8a957bb860e914614ca9d83775253cb2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{ lib
, buildPythonPackage
, fetchPypi
, jupyter-core
, hatchling
, python-dateutil
, pyzmq
, tornado
, traitlets
, pythonOlder
, importlib-metadata
}:
buildPythonPackage rec {
pname = "jupyter-client";
version = "8.6.0";
pyproject = true;
src = fetchPypi {
pname = "jupyter_client";
inherit version;
hash = "sha256-BkIkS7g7R2SuYNB+AQ4V8OLSdexOkYqPe4D7vvPKYMc=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
jupyter-core
python-dateutil
pyzmq
tornado
traitlets
] ++ lib.optionals (pythonOlder "3.10") [
importlib-metadata
];
pythonImportsCheck = [
"jupyter_client"
];
# Circular dependency with ipykernel
doCheck = false;
meta = {
description = "Jupyter protocol implementation and client libraries";
homepage = "https://github.com/jupyter/jupyter_client";
changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}
|