summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipykernel/default.nix
blob: 041818900978687f29f56c9d4d736f18b9cdd9ad (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
{ lib
, stdenv
, buildPythonPackage
, callPackage
, fetchPypi
, debugpy
, ipython
, jupyter_client
, tornado
, traitlets
, pythonOlder
}:

buildPythonPackage rec {
  pname = "ipykernel";
  version = "6.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "5314690a638f893e2cc3bf3d25042920e9fbb873f7d8263033390264caeb95f4";
  };

  propagatedBuildInputs = [
    debugpy
    ipython
    jupyter_client
    tornado
    traitlets
  ];

  # check in passthru.tests.pytest to escape infinite recursion with ipyparallel
  doCheck = false;

  passthru.tests = {
    pytest = callPackage ./tests.nix { };
  };

  meta = {
    description = "IPython Kernel for Jupyter";
    homepage = "http://ipython.org/";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ fridh ];
  };
}