nixpkgs/pkgs/development/python-modules/hmmlearn/default.nix

24 lines
636 B
Nix
Raw Normal View History

2018-11-24 13:17:15 +00:00
{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn }:
buildPythonPackage rec {
pname = "hmmlearn";
2018-11-04 10:35:02 +00:00
version = "0.2.1";
name = pname + "-" + version;
src = fetchurl {
url = "mirror://pypi/h/hmmlearn/${name}.tar.gz";
2018-11-04 10:35:02 +00:00
sha256 = "d43f5b25f9019ef5d01914d0972a5fa0594e82ab75d2c6aec26d682e47bd553c";
};
2018-11-24 13:17:15 +00:00
propagatedBuildInputs = [ numpy scikitlearn ];
doCheck = false;
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 ];
};
}