blob: 8d2afcf5e722b98e676692eab38330a730defc08 (
plain) (
blame)
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
|
{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn, setuptools_scm, cython, pytest }:
buildPythonPackage rec {
pname = "hmmlearn";
version = "0.2.5";
src = fetchurl {
url = "mirror://pypi/h/hmmlearn/${pname}-${version}.tar.gz";
sha256 = "14fb4ad3fb7529785844a25fae5d32272619fb5973cc02c8784018055470ca01";
};
buildInputs = [ setuptools_scm cython ];
propagatedBuildInputs = [ numpy scikitlearn ];
checkInputs = [ pytest ];
checkPhase = ''
pytest --pyargs hmmlearn
'';
meta = with lib; {
description = "Hidden Markov Models in Python with scikit-learn like API";
homepage = "https://github.com/hmmlearn/hmmlearn";
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];
};
}
|