about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-04-22 20:39:35 -0500
committerGitHub <noreply@github.com>2023-04-22 20:39:35 -0500
commit67c5733e22f17a33ea838d2233ee73adcd1bd88e (patch)
treedae443de08608fdfe2f004bab3f95dbd6bf13236 /pkgs
parentab080f5278151235087325e8f392d477de409693 (diff)
parent505b1e5bf5e0c1211bcbe5056db27dd03110f257 (diff)
Merge pull request #227604 from marsam/update-jupyter-cache
python310Packages.jupyter-cache: 0.5.0 -> 0.6.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/jupyter-cache/default.nix17
1 files changed, 5 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/jupyter-cache/default.nix b/pkgs/development/python-modules/jupyter-cache/default.nix
index 593fb90720b21..cbeb05bde98fb 100644
--- a/pkgs/development/python-modules/jupyter-cache/default.nix
+++ b/pkgs/development/python-modules/jupyter-cache/default.nix
@@ -3,6 +3,7 @@
 , fetchPypi
 , attrs
 , click
+, flit-core
 , importlib-metadata
 , nbclient
 , nbformat
@@ -10,25 +11,22 @@
 , sqlalchemy
 , tabulate
 , pythonOlder
-, setuptools
-, pythonRelaxDepsHook
 }:
 
 buildPythonPackage rec {
   pname = "jupyter-cache";
-  version = "0.5.0";
-  format = "pyproject";
+  version = "0.6.1";
+  format = "flit";
 
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "87408030a4c8c14fe3f8fe62e6ceeb24c84e544c7ced20bfee45968053d07801";
+    sha256 = "sha256-Jvg5ARQ+30ry8/9akeLSrSmORuLO4DyAcdN6I6Y8y/w=";
   };
 
   nativeBuildInputs = [
-    setuptools
-    pythonRelaxDepsHook
+    flit-core
   ];
 
   propagatedBuildInputs = [
@@ -42,11 +40,6 @@ buildPythonPackage rec {
     tabulate
   ];
 
-  pythonRelaxDeps = [
-    "nbclient"
-    "sqlalchemy" # See https://github.com/executablebooks/jupyter-cache/pull/93
-  ];
-
   pythonImportsCheck = [ "jupyter_cache" ];
 
   meta = with lib; {