mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 15:26:34 +01:00
34 lines
764 B
Nix
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 ];
|
|
};
|
|
}
|