2019-06-18 20:20:19 -07:00
|
|
|
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, cython, networkx, joblib, nose, pyyaml }:
|
2017-09-18 14:52:25 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pomegranate";
|
2019-12-09 07:25:28 -08:00
|
|
|
version = "0.11.2";
|
2019-06-18 20:20:19 -07:00
|
|
|
|
2017-11-01 11:37:31 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = pname;
|
|
|
|
owner = "jmschrei";
|
|
|
|
rev = "v${version}";
|
2019-12-09 07:25:28 -08:00
|
|
|
sha256 = "070ciwww1lhjmfwd5n1kcwgxwbgdfvmhjs4l156bnf08z9dlrafl";
|
2017-09-18 14:52:25 -07:00
|
|
|
};
|
|
|
|
|
2019-06-18 20:20:19 -07:00
|
|
|
propagatedBuildInputs = [ numpy scipy cython networkx joblib pyyaml ];
|
2017-09-18 14:52:25 -07:00
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Probabilistic and graphical models for Python, implemented in cython for speed";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/jmschrei/pomegranate";
|
2017-09-18 14:52:25 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rybern ];
|
|
|
|
};
|
|
|
|
}
|