Files
nixpkgs/pkgs/development/python-modules/jupyter-client/default.nix
T
Frederik Rietdijk 5772ac5a75 Removing FRidh as active maintainer of packages
In the past I was very active with Python packaging.
For several years now I was hardly around as maintainer,
so it does not make sense I am listed as a maintainer for
these makes. Looking back, I should have removed myself
as maintainer already much longer ago. Anyway, better late
than never.

It's been a fun ride, and  I do intend to occasionally contribute
to Nixpkgs, but not in the same way it once was.
2024-04-28 12:20:07 +02:00

53 lines
996 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jupyter-core
, hatchling
, python-dateutil
, pyzmq
, tornado
, traitlets
, pythonOlder
, importlib-metadata
}:
buildPythonPackage rec {
pname = "jupyter-client";
version = "8.6.1";
pyproject = true;
src = fetchPypi {
pname = "jupyter_client";
inherit version;
hash = "sha256-6EJRXiurjhkYbYn9/qer0V453VgflOOZ8A4q9aFlLT8=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
jupyter-core
python-dateutil
pyzmq
tornado
traitlets
] ++ lib.optionals (pythonOlder "3.10") [
importlib-metadata
];
pythonImportsCheck = [
"jupyter_client"
];
# Circular dependency with ipykernel
doCheck = false;
meta = {
description = "Jupyter protocol implementation and client libraries";
homepage = "https://github.com/jupyter/jupyter_client";
changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
};
}