Commit 59cc6526 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.fakeredis: refactor

- fix license (is BSD 3-Clause not MIT)
- add more extra
parent 07538cfd
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -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 ];
  };
}