about summary refs log tree commit diff
path: root/pkgs/development/python-modules/nimfa
diff options
context:
space:
mode:
authorAshley Gillman <ashley.gillman@csiro.au>2018-01-16 18:55:56 +1000
committerAshley Gillman <ashley.gillman@csiro.au>2018-01-16 19:16:21 +1000
commitb9e126d2d1396e90389fee80b9905fc1f28d6d38 (patch)
tree7b91f5bc8c4017942d4737014756915f543f1ce0 /pkgs/development/python-modules/nimfa
parent0d54f987daa30407e127ee9cc1fd4af8b406aef9 (diff)
pythonPackages.nimfa: Move to own file.
Diffstat (limited to 'pkgs/development/python-modules/nimfa')
-rw-r--r--pkgs/development/python-modules/nimfa/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nimfa/default.nix b/pkgs/development/python-modules/nimfa/default.nix
new file mode 100644
index 0000000000000..87f7755fcf2bf
--- /dev/null
+++ b/pkgs/development/python-modules/nimfa/default.nix
@@ -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 ];
+  };
+}