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