Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy3k, 6 numpy, 7 scipy, 8 matplotlib, 9 pytest, 10}: 11 12buildPythonPackage rec { 13 pname = "nimfa"; 14 version = "1.4.0"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "39cff2b86856d03ca8a3d9c38598034ecf1a768c325fd3a728bb9eadb8c6b919"; 20 }; 21 22 propagatedBuildInputs = [ 23 numpy 24 scipy 25 ]; 26 nativeCheckInputs = [ 27 matplotlib 28 pytest 29 ]; 30 doCheck = !isPy3k; # https://github.com/marinkaz/nimfa/issues/42 31 32 meta = with lib; { 33 description = "Nonnegative matrix factorization library"; 34 homepage = "http://nimfa.biolab.si"; 35 license = licenses.bsd3; 36 maintainers = with maintainers; [ ashgillman ]; 37 }; 38}