blob: 4ba0b588350e0dbc1a99d7ad2a87d406409f4396 (
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
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
numpy,
scipy,
statsmodels,
}:
buildPythonPackage {
pname = "changefinder";
version = "unstable-2024-03-24";
pyproject = true;
src = fetchFromGitHub {
owner = "shunsukeaihara";
repo = "changefinder";
rev = "58c8c32f127b9e46f9823f36221f194bdb6f3f8b";
hash = "sha256-1If0gIsMU8673fKSSHVMvDgR1UnYgM/4HiyvZJ9T6VM=";
};
patches = [ ./fix_test_invocation.patch ];
build-system = [ setuptools ];
pythonRemoveDeps = [ "nose" ];
dependencies = [
numpy
scipy
statsmodels
];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "test/test.py" ];
pythonImportsCheck = [ "changefinder" ];
meta = {
description = "Online Change-Point Detection library based on ChangeFinder algorithm";
homepage = "https://github.com/shunsukeaihara/changefinder";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ raitobezarius ];
};
}
|