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.8.2"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "c091449dd0fad7710ddd9c4a06e8b9e15277da306590bc07a3a1afa6b4453c8f"; 21 }; 22 23 buildInputs = [ 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 maintainers = with lib.maintainers; [ fridh ]; 41 }; 42}