2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib, nose }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deap";
|
|
|
|
version = "1.3.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0bvshly83c4h5jhxaa97z192viczymz5fxp6vl8awjmmrs9l9x8i";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy matplotlib ];
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} setup.py nosetests --verbosity=3
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas.";
|
|
|
|
homepage = "https://github.com/DEAP/deap";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|