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