pythonPackages.ipykernel: 4.5.2 -> 4.6.1
This commit is contained in:
43
pkgs/development/python-modules/ipykernel/default.nix
Normal file
43
pkgs/development/python-modules/ipykernel/default.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, isPy27
|
||||
, mock
|
||||
, ipython
|
||||
, jupyter_client
|
||||
, pexpect
|
||||
, traitlets
|
||||
, tornado
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipykernel";
|
||||
version = "4.6.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2e1825aca4e2585b5adb7953ea16e53f53a62159ed49952a564b1e23507205db";
|
||||
};
|
||||
|
||||
buildInputs = [ 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;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user