2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, python, numpy, matplotlib, nose }:
|
2018-06-11 14:24:20 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deap";
|
2020-01-27 21:02:19 +00:00
|
|
|
version = "1.3.1";
|
2018-06-11 14:24:20 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-01-27 21:02:19 +00:00
|
|
|
sha256 = "0bvshly83c4h5jhxaa97z192viczymz5fxp6vl8awjmmrs9l9x8i";
|
2018-06-11 14:24:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy matplotlib ];
|
|
|
|
|
2020-03-26 17:00:20 +00:00
|
|
|
checkInputs = [ nose ];
|
2018-06-11 14:24:20 +01:00
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} setup.py nosetests --verbosity=3
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-11 14:24:20 +01:00
|
|
|
description = "DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas.";
|
2019-07-08 06:05:38 +01:00
|
|
|
homepage = "https://github.com/DEAP/deap";
|
2018-06-11 14:24:20 +01:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|