depot/third_party/nixpkgs/pkgs/development/python-modules/pybloom-live/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

46 lines
813 B
Nix

{
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 = "Probabilistic data structure";
homepage = "https://github.com/joseph-fox/python-bloomfilter";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}