3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jupyter_client/default.nix
2017-07-03 20:24:03 +02:00

39 lines
783 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, traitlets
, jupyter_core
, pyzmq
, dateutil
, isPyPy
, py
}:
buildPythonPackage rec {
pname = "jupyter_client";
version = "5.1.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "08756b021765c97bc5665390700a4255c2df31666ead8bff116b368d09912aba";
};
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 ];
};
}