8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
30 lines
663 B
Nix
30 lines
663 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, numpy
|
|
, scipy
|
|
, matplotlib
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nimfa";
|
|
version = "1.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "39cff2b86856d03ca8a3d9c38598034ecf1a768c325fd3a728bb9eadb8c6b919";
|
|
};
|
|
|
|
propagatedBuildInputs = [ numpy scipy ];
|
|
checkInputs = [ matplotlib pytest ];
|
|
doCheck = !isPy3k; # https://github.com/marinkaz/nimfa/issues/42
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Nonnegative matrix factorization library";
|
|
homepage = "http://nimfa.biolab.si";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ashgillman ];
|
|
};
|
|
}
|