nixpkgs/pkgs/development/python-modules/jupyter-client/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

50 lines
863 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, entrypoints
, jupyter-core
, hatchling
, nest-asyncio
, python-dateutil
, pyzmq
, tornado
, traitlets
, isPyPy
, py
}:
buildPythonPackage rec {
pname = "jupyter_client";
version = "8.0.3";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-7WVJi+pth2752No+DbPdM8XRKfWyZF9WrgOZN4KWa9A=";
};
nativeBuildInputs = [
hatchling
];
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 ];
};
}