depot/third_party/nixpkgs/pkgs/development/python-modules/ipykernel/4.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

41 lines
744 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, isPy27
, mock
, ipython
, jupyter-client
, pexpect
, traitlets
, tornado
}:
buildPythonPackage rec {
pname = "ipykernel";
version = "4.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "eeb74b2bcfe0ced5a7900361f98fa1171288aa47ed4b522efe5acb167c6cf5fb";
};
checkInputs = [ nose ] ++ lib.optional isPy27 mock;
propagatedBuildInputs = [
ipython
jupyter-client
pexpect
traitlets
tornado
];
# Tests require backends.
# I don't want to add all supported backends as propagatedBuildInputs
doCheck = false;
meta = {
description = "IPython Kernel for Jupyter";
homepage = "http://ipython.org/";
license = lib.licenses.bsd3;
};
}