mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
39 lines
783 B
Nix
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 ];
|
|
};
|
|
} |