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

40 lines
737 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, traitlets
, jupyter_core
, pyzmq
, python-dateutil
, isPyPy
, py
, tornado
}:
buildPythonPackage rec {
pname = "jupyter_client";
version = "6.1.12";
src = fetchPypi {
inherit pname version;
sha256 = "c4bca1d0846186ca8be97f4d2fa6d2bae889cce4892a167ffa1ba6bd1f73e782";
};
propagatedBuildInputs = [
traitlets
jupyter_core
pyzmq
python-dateutil
tornado
] ++ lib.optional isPyPy py;
# Circular dependency with ipykernel
doCheck = false;
meta = {
description = "Jupyter protocol implementation and client libraries";
homepage = "https://jupyter.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}