blob: 446aba5ab037a3e3f2aa329950881de8c20b211f (
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
48
49
|
{
lib,
fetchPypi,
buildPythonPackage,
numpy,
scikit-learn,
pybind11,
setuptools-scm,
cython,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hmmlearn";
version = "0.3.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-HTxdxMUlfgwjjcH+U4dwC4y5h+q4CO2z4Mc4KfHMROw=";
};
buildInputs = [
setuptools-scm
cython
pybind11
];
propagatedBuildInputs = [
numpy
scikit-learn
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hmmlearn" ];
pytestFlags = [
"--pyargs"
"hmmlearn"
];
meta = {
description = "Hidden Markov Models in Python with scikit-learn like API";
homepage = "https://github.com/hmmlearn/hmmlearn";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|