depot/third_party/nixpkgs/pkgs/development/python-modules/nimfa/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
684 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, numpy
, scipy
, matplotlib
, pytest
}:
buildPythonPackage rec {
pname = "nimfa";
version = "1.4.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "39cff2b86856d03ca8a3d9c38598034ecf1a768c325fd3a728bb9eadb8c6b919";
};
propagatedBuildInputs = [ numpy scipy ];
nativeCheckInputs = [ matplotlib pytest ];
doCheck = !isPy3k; # https://github.com/marinkaz/nimfa/issues/42
meta = with lib; {
description = "Nonnegative matrix factorization library";
homepage = "http://nimfa.biolab.si";
license = licenses.bsd3;
maintainers = with maintainers; [ ashgillman ];
};
}