at 23.05-pre 987 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, future 5, numpy 6, pytest 7}: 8 9buildPythonPackage rec { 10 pname = "MDP"; 11 version = "3.6"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "ac52a652ccbaed1857ff1209862f03bf9b06d093b12606fb410787da3aa65a0e"; 16 }; 17 18 propagatedBuildInputs = [ future numpy ]; 19 20 checkInputs = [ pytest ]; 21 22 doCheck = true; 23 24 pythonImportsCheck = [ "mdp" "bimdp" ]; 25 26 postPatch = '' 27 # https://github.com/mdp-toolkit/mdp-toolkit/issues/92 28 substituteInPlace mdp/utils/routines.py --replace numx.typeDict numx.sctypeDict 29 ''; 30 31 checkPhase = '' 32 runHook preCheck 33 34 pytest --seed 7710873 mdp 35 pytest --seed 7710873 bimdp 36 37 runHook postCheck 38 ''; 39 40 meta = with lib; { 41 description = "Library for building complex data processing software by combining widely used machine learning algorithms"; 42 homepage = "http://mdp-toolkit.sourceforge.net"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ nico202 ]; 45 }; 46}