pythonPackages.nimfa: Move to own file.

This commit is contained in:
Ashley Gillman 2018-01-16 18:55:56 +10:00
parent 0d54f987da
commit b9e126d2d1
2 changed files with 31 additions and 21 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, matplotlib
, pytest
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "nimfa";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "05d0m5n96bg6wj94r7m1har48f93797gk5v9s62zdv7x83a6n6j5";
};
propagatedBuildInputs = [ numpy scipy ];
buildInputs = [ matplotlib pytest ];
doCheck = false; # errors
meta = with stdenv.lib; {
description = "Nonnegative matrix factorization library";
homepage = "http://nimfa.biolab.si";
license = licenses.bsd3;
maintainers = with maintainers; [ ashgillman ];
};
}

View File

@ -11343,27 +11343,7 @@ in {
nilearn = callPackage ../development/python-modules/nilearn {};
nimfa = buildPythonPackage rec {
pname = "nimfa";
version = "1.3.1";
name = "${pname}-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/n/${pname}/${name}.tar.gz";
sha256 = "05d0m5n96bg6wj94r7m1har48f93797gk5v9s62zdv7x83a6n6j5";
};
propagatedBuildInputs = with self; [ numpy scipy ];
buildInputs = with self; [ matplotlib pytest ];
doCheck = false; # errors
meta = with pkgs.stdenv.lib; {
description = "Nonnegative matrix factorization library";
homepage = "http://nimfa.biolab.si";
license = licenses.bsd3;
maintainers = with maintainers; [ ashgillman ];
};
};
nimfa = callPackage ../development/python-modules/nimfa {};
nipy = buildPythonPackage rec {
version = "0.4.0";