2018-01-16 08:55:56 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-01-17 00:56:19 +00:00
|
|
|
, isPy3k
|
2018-01-16 08:55:56 +00:00
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, matplotlib
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nimfa";
|
2019-10-24 07:47:39 +01:00
|
|
|
version = "1.4.0";
|
2018-01-16 08:55:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:39 +01:00
|
|
|
sha256 = "39cff2b86856d03ca8a3d9c38598034ecf1a768c325fd3a728bb9eadb8c6b919";
|
2018-01-16 08:55:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy scipy ];
|
2018-01-17 00:56:19 +00:00
|
|
|
checkInputs = [ matplotlib pytest ];
|
|
|
|
doCheck = !isPy3k; # https://github.com/marinkaz/nimfa/issues/42
|
2018-01-16 08:55:56 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Nonnegative matrix factorization library";
|
|
|
|
homepage = "http://nimfa.biolab.si";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ashgillman ];
|
|
|
|
};
|
|
|
|
}
|