diff options
author | Nikolay Amiantov <ab@fmap.me> | 2019-06-03 17:20:51 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2019-06-04 01:36:27 +0300 |
commit | 9835414c07374ebc94eaa002d0fc51f92672fd9e (patch) | |
tree | 8e6a97a993f672427de2c3ba322abdd8114feea5 /pkgs | |
parent | 424aa4374879d603035c3216b62837070c524b91 (diff) |
python3.pkgs.hmmlearn: 0.2.1 -> 0.2.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/hmmlearn/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/hmmlearn/default.nix b/pkgs/development/python-modules/hmmlearn/default.nix index db8ff5726ab9d..9938d4053879f 100644 --- a/pkgs/development/python-modules/hmmlearn/default.nix +++ b/pkgs/development/python-modules/hmmlearn/default.nix @@ -1,18 +1,22 @@ -{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn }: +{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn, setuptools_scm, cython, pytest }: buildPythonPackage rec { pname = "hmmlearn"; - version = "0.2.1"; + version = "0.2.2"; name = pname + "-" + version; src = fetchurl { url = "mirror://pypi/h/hmmlearn/${name}.tar.gz"; - sha256 = "d43f5b25f9019ef5d01914d0972a5fa0594e82ab75d2c6aec26d682e47bd553c"; + sha256 = "081c53xs5wn5vikwslallwdv0am09w9cbbggl5dbkqpnic9zx4h4"; }; + buildInputs = [ setuptools_scm cython ]; propagatedBuildInputs = [ numpy scikitlearn ]; + checkInputs = [ pytest ]; - doCheck = false; + checkPhase = '' + pytest --doctest-modules --pyargs hmmlearn + ''; meta = with lib; { description = "Hidden Markov Models in Python with scikit-learn like API"; |