python311Packages.fakeredis: refactor

- fix license (is BSD 3-Clause not MIT)
- add more extra
This commit is contained in:
Fabian Affolter
2024-02-16 08:57:04 +01:00
parent 07538cfddf
commit 59cc65262f
@@ -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 ];
};
}