summary refs log tree commit diff
path: root/pkgs/development/python-modules/deap/default.nix
blob: e78a3f5eba0374737429a5b75c1ec3881f24bb2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib }:

buildPythonPackage rec {
  pname = "deap";
  version = "1.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "102r11pxb36xkq5bjv1lpkss77v278f5xdv6lvkbjdvqryydf3yd";
  };

  propagatedBuildInputs = [ numpy matplotlib ];

  checkPhase = ''
    ${python.interpreter} setup.py nosetests --verbosity=3
  '';

  meta = with stdenv.lib; {
    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 ];
  };

}