diff options
Diffstat (limited to 'pkgs/development/python-modules/ipykernel/default.nix')
-rw-r--r-- | pkgs/development/python-modules/ipykernel/default.nix | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/pkgs/development/python-modules/ipykernel/default.nix b/pkgs/development/python-modules/ipykernel/default.nix index 761ab5852a0c2..3ef98a9a8eb8e 100644 --- a/pkgs/development/python-modules/ipykernel/default.nix +++ b/pkgs/development/python-modules/ipykernel/default.nix @@ -1,23 +1,27 @@ -{ lib -, stdenv -, buildPythonPackage -, callPackage -, fetchPypi -, hatchling -, pythonOlder -, appnope -, comm -, debugpy -, ipython -, jupyter-client -, jupyter-core -, matplotlib-inline -, nest-asyncio -, packaging -, psutil -, pyzmq -, tornado -, traitlets +{ + lib, + stdenv, + buildPythonPackage, + callPackage, + fetchPypi, + hatchling, + pythonOlder, + appnope, + comm, + debugpy, + ipython, + jupyter-client, + jupyter-core, + matplotlib-inline, + nest-asyncio, + packaging, + psutil, + pyzmq, + tornado, + traitlets, + + # Reverse dependency + sage, }: buildPythonPackage rec { @@ -37,9 +41,7 @@ buildPythonPackage rec { sed -i "/debugpy/d" pyproject.toml ''; - nativeBuildInputs = [ - hatchling - ]; + nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ comm @@ -54,15 +56,14 @@ buildPythonPackage rec { pyzmq tornado traitlets - ] ++ lib.optionals stdenv.isDarwin [ - appnope - ]; + ] ++ lib.optionals stdenv.isDarwin [ appnope ]; # check in passthru.tests.pytest to escape infinite recursion with ipyparallel doCheck = false; passthru.tests = { pytest = callPackage ./tests.nix { }; + inherit sage; }; meta = { @@ -70,6 +71,6 @@ buildPythonPackage rec { homepage = "https://ipython.org/"; changelog = "https://github.com/ipython/ipykernel/releases/tag/v${version}"; license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ fridh ] ++ lib.teams.jupyter.members; + maintainers = lib.teams.jupyter.members; }; } |