diff options
Diffstat (limited to 'pkgs/development/python-modules/jupyter_client/default.nix')
-rw-r--r-- | pkgs/development/python-modules/jupyter_client/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jupyter_client/default.nix b/pkgs/development/python-modules/jupyter_client/default.nix new file mode 100644 index 000000000000..a45a4a84a3a0 --- /dev/null +++ b/pkgs/development/python-modules/jupyter_client/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchPypi +, nose +, traitlets +, jupyter_core +, pyzmq +, dateutil +, isPyPy +, py +}: + +buildPythonPackage rec { + pname = "jupyter_client"; + version = "5.0.1"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1fe573880b5ca4469ed0bece098f4b910c373d349e12525e1ea3566f5a14536b"; + }; + + buildInputs = [ nose ]; + propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil] ++ lib.optional isPyPy py; + + checkPhase = '' + nosetests -v + ''; + + # Circular dependency with ipykernel + doCheck = false; + + meta = { + description = "Jupyter protocol implementation and client libraries"; + homepage = http://jupyter.org/; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ fridh ]; + }; +} \ No newline at end of file |