nixpkgs/pkgs/development/python-modules/jupyter_client/default.nix

42 lines
821 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, traitlets
, jupyter_core
, pyzmq
, dateutil
, isPyPy
, py
2017-12-30 12:23:54 +01:00
, ipykernel
, ipython
, mock
, pytest
2018-02-03 10:52:47 +01:00
, tornado
}:
buildPythonPackage rec {
pname = "jupyter_client";
2019-01-17 16:13:01 +01:00
version = "5.2.4";
src = fetchPypi {
inherit pname version;
2019-01-17 16:13:01 +01:00
sha256 = "b5f9cb06105c1d2d30719db5ffb3ea67da60919fb68deaefa583deccd8813551";
};
2017-12-30 12:23:54 +01:00
checkInputs = [ ipykernel ipython mock pytest ];
2018-02-03 10:52:47 +01:00
propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil tornado ] ++ lib.optional isPyPy py;
checkPhase = ''
2017-12-30 12:23:54 +01:00
py.test
'';
# 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 ];
};
}