codesnap: init at 0.8.2 (#364266)
[NixPkgs.git] / pkgs / development / python-modules / jupyter-client / default.nix
blobe05209dd80d5755736b235d42363b7ebbeba6d78
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   jupyter-core,
6   hatchling,
7   python-dateutil,
8   pyzmq,
9   tornado,
10   traitlets,
11   pythonOlder,
12   importlib-metadata,
15 buildPythonPackage rec {
16   pname = "jupyter-client";
17   version = "8.6.3";
18   pyproject = true;
20   src = fetchPypi {
21     pname = "jupyter_client";
22     inherit version;
23     hash = "sha256-NbOglHxKbp1Ynrl9fUzV6Q+RDucxAWEfASg3Mr1tlBk=";
24   };
26   build-system = [ hatchling ];
28   dependencies = [
29     jupyter-core
30     python-dateutil
31     pyzmq
32     tornado
33     traitlets
34   ] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
36   pythonImportsCheck = [ "jupyter_client" ];
38   # Circular dependency with ipykernel
39   doCheck = false;
41   meta = {
42     description = "Jupyter protocol implementation and client libraries";
43     homepage = "https://github.com/jupyter/jupyter_client";
44     changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
45     license = lib.licenses.bsd3;
46     maintainers = lib.teams.jupyter.members;
47   };