1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, numpy 6, scipy 7, matplotlib 8, pytest 9}: 10 11buildPythonPackage rec { 12 pname = "nimfa"; 13 version = "1.3.4"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "651376eba6b049fe270dc0d29d4b2abecb5e998c2013df6735a97875503e2ffe"; 18 }; 19 20 propagatedBuildInputs = [ numpy scipy ]; 21 checkInputs = [ matplotlib pytest ]; 22 doCheck = !isPy3k; # https://github.com/marinkaz/nimfa/issues/42 23 24 meta = with stdenv.lib; { 25 description = "Nonnegative matrix factorization library"; 26 homepage = "http://nimfa.biolab.si"; 27 license = licenses.bsd3; 28 maintainers = with maintainers; [ ashgillman ]; 29 }; 30}