2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, numpy, scipy, cython, networkx, joblib, nose, pyyaml }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pomegranate";
|
|
|
|
version = "0.11.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = pname;
|
|
|
|
owner = "jmschrei";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "070ciwww1lhjmfwd5n1kcwgxwbgdfvmhjs4l156bnf08z9dlrafl";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy scipy cython networkx joblib pyyaml ];
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Probabilistic and graphical models for Python, implemented in cython for speed";
|
|
|
|
homepage = "https://github.com/jmschrei/pomegranate";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rybern ];
|
|
|
|
};
|
|
|
|
}
|