Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / jupyter-client / default.nix
blob014b67cb4b46ca9b460a199e43a5524285df9390
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
18 buildPythonPackage rec {
19   pname = "jupyter_client";
20   version = "8.3.1";
21   format = "pyproject";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-YClLLVuGk1bIk/V7God+plENYNRc9LOAV/FnLYVpmsk=";
26   };
28   nativeBuildInputs = [
29     hatchling
30   ];
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;
44   # Circular dependency with ipykernel
45   doCheck = false;
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   };