Merge pull request #288547 from fabaff/fakeredis-bump
python311Packages.fakeredis: 2.20.1 -> 2.21.0
This commit is contained in:
commit
300f19ebf7
@ -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.20.1";
|
||||
format = "pyproject";
|
||||
version = "2.21.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "dsoftwareinc";
|
||||
repo = "fakeredis-py";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-TmgHAskR5MF/lzF0NHgXKecLsSCoc7xsm7gRgupm0Ws=";
|
||||
hash = "sha256-A+XOCWeXVt8SUkKM+TKra8xODuCD0QE9+/8FefUt4OY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
42
pkgs/development/python-modules/pyprobables/default.nix
Normal file
42
pkgs/development/python-modules/pyprobables/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyprobables";
|
||||
version = "0.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "barrust";
|
||||
repo = "pyprobables";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-maikrZlBzhv35zPXmKqdJzAz6eZDmluLUvkOkaPTCDU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"probables"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Probabilistic data structures";
|
||||
homepage = "https://github.com/barrust/pyprobables";
|
||||
changelog = "https://github.com/barrust/pyprobables/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -9341,6 +9341,8 @@ self: super: with self; {
|
||||
|
||||
pyprecice = callPackage ../development/python-modules/pyprecice { };
|
||||
|
||||
pyprobables = callPackage ../development/python-modules/pyprobables { };
|
||||
|
||||
pyproject-api = callPackage ../development/python-modules/pyproject-api { };
|
||||
|
||||
pyproject-hooks = callPackage ../development/python-modules/pyproject-hooks { };
|
||||
|
Loading…
Reference in New Issue
Block a user