Merge pull request #257665 from fabaff/pybloom-live

python311Packages.pybloom-live: init at 4.0.0
This commit is contained in:
Fabian Affolter 2023-09-28 00:40:34 +02:00 committed by GitHub
commit 4fd25b5ed1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,49 @@
{ lib
, bitarray
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
, wheel
, xxhash
}:
buildPythonPackage rec {
pname = "pybloom-live";
version = "4.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pybloom_live";
inherit version;
hash = "sha256-mVRcXTsFvTiLVJHja4I7cGgwpoa6GLTBkGPQjeUyERA=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
bitarray
xxhash
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pybloom_live"
];
meta = with lib; {
description = "A Probabilistic data structure";
homepage = "https://github.com/joseph-fox/python-bloomfilter";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -8933,6 +8933,8 @@ self: super: with self; {
pyblackbird = callPackage ../development/python-modules/pyblackbird { };
pybloom-live = callPackage ../development/python-modules/pybloom-live { };
pybluez = callPackage ../development/python-modules/pybluez {
inherit (pkgs) bluez;
};