Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 41 lines 742 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, isPy27 6, mock 7, ipython 8, jupyter_client 9, pexpect 10, traitlets 11, tornado 12}: 13 14buildPythonPackage rec { 15 pname = "ipykernel"; 16 version = "4.10.0"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "699103c8e64886e3ec7053f2a6aa83bb90426063526f63a818732ff385202bad"; 21 }; 22 23 checkInputs = [ nose ] ++ lib.optional isPy27 mock; 24 propagatedBuildInputs = [ 25 ipython 26 jupyter_client 27 pexpect 28 traitlets 29 tornado 30 ]; 31 32 # Tests require backends. 33 # I don't want to add all supported backends as propagatedBuildInputs 34 doCheck = false; 35 36 meta = { 37 description = "IPython Kernel for Jupyter"; 38 homepage = http://ipython.org/; 39 license = lib.licenses.bsd3; 40 }; 41}