depot/third_party/nixpkgs/pkgs/development/python-modules/jupyter-client/default.nix

44 lines
785 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, entrypoints
, jupyter_core
, nest-asyncio
, python-dateutil
, pyzmq
, tornado
, traitlets
, isPyPy
, py
}:
buildPythonPackage rec {
pname = "jupyter_client";
version = "7.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-qhdyeekyBdBoHsDi4hDaAbIsWhRkpWq9RVrcrGTw3pE=";
};
propagatedBuildInputs = [
entrypoints
jupyter_core
nest-asyncio
python-dateutil
pyzmq
tornado
traitlets
] ++ 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 ];
};
}