python3.pkgs.hmmlearn: 0.2.1 -> 0.2.2
This commit is contained in:
parent
424aa43748
commit
9835414c07
@ -1,18 +1,22 @@
|
|||||||
{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn }:
|
{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn, setuptools_scm, cython, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hmmlearn";
|
pname = "hmmlearn";
|
||||||
version = "0.2.1";
|
version = "0.2.2";
|
||||||
name = pname + "-" + version;
|
name = pname + "-" + version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://pypi/h/hmmlearn/${name}.tar.gz";
|
url = "mirror://pypi/h/hmmlearn/${name}.tar.gz";
|
||||||
sha256 = "d43f5b25f9019ef5d01914d0972a5fa0594e82ab75d2c6aec26d682e47bd553c";
|
sha256 = "081c53xs5wn5vikwslallwdv0am09w9cbbggl5dbkqpnic9zx4h4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ setuptools_scm cython ];
|
||||||
propagatedBuildInputs = [ numpy scikitlearn ];
|
propagatedBuildInputs = [ numpy scikitlearn ];
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
doCheck = false;
|
checkPhase = ''
|
||||||
|
pytest --doctest-modules --pyargs hmmlearn
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Hidden Markov Models in Python with scikit-learn like API";
|
description = "Hidden Markov Models in Python with scikit-learn like API";
|
||||||
|
Loading…
Reference in New Issue
Block a user