1{ lib, buildPythonPackage, fetchPypi, python, numpy, matplotlib, nose }:
2
3buildPythonPackage rec {
4 pname = "deap";
5 version = "1.3.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0bvshly83c4h5jhxaa97z192viczymz5fxp6vl8awjmmrs9l9x8i";
10 };
11
12 propagatedBuildInputs = [ numpy matplotlib ];
13
14 checkInputs = [ nose ];
15 checkPhase = ''
16 ${python.interpreter} setup.py nosetests --verbosity=3
17 '';
18
19 meta = with lib; {
20 description = "DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas.";
21 homepage = "https://github.com/DEAP/deap";
22 license = licenses.lgpl3;
23 maintainers = with maintainers; [ psyanticy ];
24 };
25
26}
27