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 ];
};
}