blob: 06d982616bdd0de7dbed76fc20a442f2f7e18192 (
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
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
numpy,
scipy,
matplotlib,
unittestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "baycomp";
version = "1.0.3";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-MrJa17FtWyUd259hEKMtezlTuYcJbaHSXvJ3k10l2uw=";
};
build-system = [ setuptools ];
dependencies = [
numpy
scipy
matplotlib
];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "baycomp" ];
meta = {
description = "Library for Bayesian comparison of classifiers";
homepage = "https://github.com/janezd/baycomp";
license = lib.licenses.mit;
maintainers = [ ];
};
})
|