2019-06-19 04:20:19 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, cython, networkx, joblib, nose, pyyaml }:
|
2017-09-18 22:52:25 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pomegranate";
|
2019-09-28 16:12:33 +01:00
|
|
|
version = "0.11.1";
|
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-09-28 16:12:33 +01:00
|
|
|
sha256 = "19kdzqyj86aldsls68a6ymrs8sasv3a8r4wjmfdmcif1xsg6zb4q";
|
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 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|