Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 73 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, stdenv, buildPythonPackage, callPackage, fetchPypi, hatchling, pythonOlder, appnope, comm, ipython, jupyter-client, jupyter-core, matplotlib-inline, nest-asyncio, packaging, psutil, pyzmq, tornado, traitlets,
# Reverse dependency sage,}:
buildPythonPackage rec { pname = "ipykernel"; version = "6.29.5"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-8JOiLEpA+IKPjjMKnCl8uT3KsTvZZ43tbejlz4HFYhU="; };
# debugpy is optional, see https://github.com/ipython/ipykernel/pull/767 pythonRemoveDeps = [ "debugpy" ];
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ comm ipython jupyter-client jupyter-core matplotlib-inline nest-asyncio packaging psutil pyzmq tornado traitlets ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ appnope ];
# check in passthru.tests.pytest to escape infinite recursion with ipyparallel doCheck = false;
passthru.tests = { pytest = callPackage ./tests.nix { }; inherit sage; };
meta = { description = "IPython Kernel for Jupyter"; homepage = "https://ipython.org/"; changelog = "https://github.com/ipython/ipykernel/releases/tag/v${version}"; license = lib.licenses.bsd3; teams = [ lib.teams.jupyter ]; };}