Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / jupyter-client / default.nix
blob5dd708f014ad40b38e355c42db0c7f698c003433
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , jupyter-core
5 , hatchling
6 , python-dateutil
7 , pyzmq
8 , tornado
9 , traitlets
10 , pythonOlder
11 , importlib-metadata
14 buildPythonPackage rec {
15   pname = "jupyter-client";
16   version = "8.6.1";
17   pyproject = true;
19   src = fetchPypi {
20     pname = "jupyter_client";
21     inherit version;
22     hash = "sha256-6EJRXiurjhkYbYn9/qer0V453VgflOOZ8A4q9aFlLT8=";
23   };
25   nativeBuildInputs = [
26     hatchling
27   ];
29   propagatedBuildInputs = [
30     jupyter-core
31     python-dateutil
32     pyzmq
33     tornado
34     traitlets
35   ] ++ lib.optionals (pythonOlder "3.10") [
36     importlib-metadata
37   ];
39   pythonImportsCheck = [
40     "jupyter_client"
41   ];
43   # Circular dependency with ipykernel
44   doCheck = false;
46   meta = {
47     description = "Jupyter protocol implementation and client libraries";
48     homepage = "https://github.com/jupyter/jupyter_client";
49     changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
50     license = lib.licenses.bsd3;
51     maintainers = with lib.maintainers; [ fridh ];
52   };