1{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, cython, networkx, joblib, nose }: 2 3buildPythonPackage rec { 4 pname = "pomegranate"; 5 version = "0.8.1"; 6 7 src = fetchFromGitHub { 8 repo = pname; 9 owner = "jmschrei"; 10 rev = "v${version}"; 11 sha256 = "085nka5bh88bxbd5vl1azyv9cfpp6grz2ngclc85f9kgccac1djr"; 12 }; 13 14 propagatedBuildInputs = [ numpy scipy cython networkx joblib ]; 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 # "pomegranate does not yet work with networkx 2.0" 25 # see https://github.com/jmschrei/pomegranate/issues/209 26 broken = true; 27 }; 28}