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-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 ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|