nixpkgs/pkgs/development/python-modules/pyprobables/default.nix
2026-02-10 14:18:19 +00:00

34 lines
764 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyprobables";
version = "0.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "barrust";
repo = "pyprobables";
tag = "v${version}";
hash = "sha256-wUeNmkDzDBXGtMBplS2Hv6rK+M3eijVpYtHMhjIpsy8=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "probables" ];
meta = {
description = "Probabilistic data structures";
homepage = "https://github.com/barrust/pyprobables";
changelog = "https://github.com/barrust/pyprobables/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}