Merge pull request #33918 from ashgillman/add-nimfa

pythonPackages.nimfa: init at 1.3.1
This commit is contained in:
Frederik Rietdijk 2018-01-17 10:04:51 +01:00 committed by GitHub
commit b8ab87aa13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, numpy
, scipy
, matplotlib
, pytest
}:
buildPythonPackage rec {
pname = "nimfa";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "0iqcrr48jwy7nh8g13xf4rvpw9wq5qs3hyd6gqlh30mgyn9i85w7";
};
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 ];
};
}

View file

@ -11330,6 +11330,8 @@ in {
nilearn = callPackage ../development/python-modules/nilearn {};
nimfa = callPackage ../development/python-modules/nimfa {};
nipy = buildPythonPackage rec {
version = "0.4.0";
name = "nipy-${version}";