about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipykernel/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/ipykernel/default.nix')
-rw-r--r--pkgs/development/python-modules/ipykernel/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/ipykernel/default.nix b/pkgs/development/python-modules/ipykernel/default.nix
index 3ef98a9a8eb8e..4da948088c9a3 100644
--- a/pkgs/development/python-modules/ipykernel/default.nix
+++ b/pkgs/development/python-modules/ipykernel/default.nix
@@ -8,7 +8,6 @@
   pythonOlder,
   appnope,
   comm,
-  debugpy,
   ipython,
   jupyter-client,
   jupyter-core,
@@ -26,26 +25,23 @@
 
 buildPythonPackage rec {
   pname = "ipykernel";
-  version = "6.29.4";
+  version = "6.29.5";
   pyproject = true;
 
   disabled = pythonOlder "3.8";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-PUQHAGD5R1rCCSt2ASP63xBdLiSTwkhItmkafE9Cr1w=";
+    hash = "sha256-8JOiLEpA+IKPjjMKnCl8uT3KsTvZZ43tbejlz4HFYhU=";
   };
 
   # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
-  postPatch = ''
-    sed -i "/debugpy/d" pyproject.toml
-  '';
+  pythonRemoveDeps = [ "debugpy" ];
 
   nativeBuildInputs = [ hatchling ];
 
   propagatedBuildInputs = [
     comm
-    debugpy
     ipython
     jupyter-client
     jupyter-core
@@ -56,7 +52,7 @@ buildPythonPackage rec {
     pyzmq
     tornado
     traitlets
-  ] ++ lib.optionals stdenv.isDarwin [ appnope ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ appnope ];
 
   # check in passthru.tests.pytest to escape infinite recursion with ipyparallel
   doCheck = false;