blob: c2213a11ba129055b03da6874825f9856c87b6a4 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyprobables";
version = "0.6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "barrust";
repo = "pyprobables";
tag = "v${version}";
hash = "sha256-CxxpiYtqoAm81YjL6nTFIk4MnBG+1n3wbnW8u29lQlw=";
};
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 ];
};
}
|