about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pybloom-live/default.nix
blob: 0499350a7c827d631db416ec9c3d29ce0a1d98a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 ];
  };
}