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