1{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, cython, networkx, joblib, nose }:
2
3buildPythonPackage rec {
4 pname = "pomegranate";
5 version = "0.7.7";
6 name = "${pname}-${version}";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "b5b7a6256778fc4097ee77caec28ec845ec1fee3d701f3f26f83860b2d45c453";
11 };
12
13 propagatedBuildInputs = [ numpy scipy cython networkx joblib ];
14
15 checkInputs = [ nose ];
16
17 meta = with stdenv.lib; {
18 description = "Probabilistic and graphical models for Python, implemented in cython for speed";
19 homepage = https://github.com/jmschrei/pomegranate;
20 license = licenses.mit;
21 maintainers = with maintainers; [ rybern ];
22 };
23}