1{ lib
2, bitarray
3, buildPythonPackage
4, fetchPypi
5, pytestCheckHook
6, pythonOlder
7, setuptools
8, wheel
9, xxhash
10}:
11
12buildPythonPackage rec {
13 pname = "pybloom-live";
14 version = "4.0.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 pname = "pybloom_live";
21 inherit version;
22 hash = "sha256-mVRcXTsFvTiLVJHja4I7cGgwpoa6GLTBkGPQjeUyERA=";
23 };
24
25 nativeBuildInputs = [
26 setuptools
27 wheel
28 ];
29
30 propagatedBuildInputs = [
31 bitarray
32 xxhash
33 ];
34
35 nativeCheckInputs = [
36 pytestCheckHook
37 ];
38
39 pythonImportsCheck = [
40 "pybloom_live"
41 ];
42
43 meta = with lib; {
44 description = "A Probabilistic data structure";
45 homepage = "https://github.com/joseph-fox/python-bloomfilter";
46 license = licenses.mit;
47 maintainers = with maintainers; [ fab ];
48 };
49}