2018-11-24 13:17:15 +00:00
|
|
|
{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn }:
|
2017-07-26 18:32:29 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "hmmlearn";
|
2018-11-04 10:35:02 +00:00
|
|
|
version = "0.2.1";
|
2017-11-09 11:26:09 +00:00
|
|
|
name = pname + "-" + version;
|
2017-07-26 18:32:29 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/h/hmmlearn/${name}.tar.gz";
|
2018-11-04 10:35:02 +00:00
|
|
|
sha256 = "d43f5b25f9019ef5d01914d0972a5fa0594e82ab75d2c6aec26d682e47bd553c";
|
2017-07-26 18:32:29 +01:00
|
|
|
};
|
|
|
|
|
2018-11-24 13:17:15 +00:00
|
|
|
propagatedBuildInputs = [ numpy scikitlearn ];
|
2017-07-26 18:32:29 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Hidden Markov Models in Python with scikit-learn like API";
|
2018-02-25 16:47:45 +00:00
|
|
|
homepage = https://github.com/hmmlearn/hmmlearn;
|
2017-07-26 18:32:29 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|