Files
nixpkgs/pkgs/development/python-modules/ipykernel/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

76 lines
1.3 KiB
Nix

{ lib
, stdenv
, buildPythonPackage
, callPackage
, fetchPypi
, hatchling
, pythonOlder
, appnope
, comm
, debugpy
, ipython
, jupyter-client
, jupyter-core
, matplotlib-inline
, nest-asyncio
, packaging
, psutil
, pyzmq
, tornado
, traitlets
}:
buildPythonPackage rec {
pname = "ipykernel";
version = "6.29.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-PUQHAGD5R1rCCSt2ASP63xBdLiSTwkhItmkafE9Cr1w=";
};
# debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
postPatch = ''
sed -i "/debugpy/d" pyproject.toml
'';
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
comm
debugpy
ipython
jupyter-client
jupyter-core
matplotlib-inline
nest-asyncio
packaging
psutil
pyzmq
tornado
traitlets
] ++ lib.optionals stdenv.isDarwin [
appnope
];
# check in passthru.tests.pytest to escape infinite recursion with ipyparallel
doCheck = false;
passthru.tests = {
pytest = callPackage ./tests.nix { };
};
meta = {
description = "IPython Kernel for Jupyter";
homepage = "https://ipython.org/";
changelog = "https://github.com/ipython/ipykernel/releases/tag/v${version}";
license = lib.licenses.bsd3;
maintainers = lib.teams.jupyter.members;
};
}