about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fakeredis/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/fakeredis/default.nix')
-rw-r--r--pkgs/development/python-modules/fakeredis/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/fakeredis/default.nix b/pkgs/development/python-modules/fakeredis/default.nix
index 97849371f0cd..df8e34dafffe 100644
--- a/pkgs/development/python-modules/fakeredis/default.nix
+++ b/pkgs/development/python-modules/fakeredis/default.nix
@@ -6,19 +6,19 @@
 , lupa
 , poetry-core
 , pybloom-live
+, pyprobables
 , pytest-asyncio
 , pytest-mock
 , pytestCheckHook
 , pythonOlder
 , redis
-, six
 , sortedcontainers
 }:
 
 buildPythonPackage rec {
   pname = "fakeredis";
   version = "2.21.0";
-  format = "pyproject";
+  pyproject = true;
 
   disabled = pythonOlder "3.7";
 
@@ -35,7 +35,6 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [
     redis
-    six
     sortedcontainers
   ];
 
@@ -54,7 +53,13 @@ buildPythonPackage rec {
       aioredis
     ];
     bf = [
-      pybloom-live
+      pyprobables
+    ];
+    cf = [
+      pyprobables
+    ];
+    probabilistic = [
+      pyprobables
     ];
   };
 
@@ -66,7 +71,7 @@ buildPythonPackage rec {
     description = "Fake implementation of Redis API";
     homepage = "https://github.com/dsoftwareinc/fakeredis-py";
     changelog = "https://github.com/cunla/fakeredis-py/releases/tag/v${version}";
-    license = with licenses; [ mit ];
+    license = with licenses; [ bsd3 ];
     maintainers = with maintainers; [ fab ];
   };
 }