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

25 lines
633 B
Nix
Raw Normal View History

{ lib, fetchurl, buildPythonPackage, numpy }:
buildPythonPackage rec {
pname = "hmmlearn";
version = "0.2.0";
name = pname + "-" + version;
src = fetchurl {
url = "mirror://pypi/h/hmmlearn/${name}.tar.gz";
sha256 = "0qc3fkdyrgfg31y1a8jzs83dxkjw78pqkdm44lll1iib63w4cik9";
};
propagatedBuildInputs = [ numpy ];
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 ];
platforms = platforms.unix;
};
}