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