summary refs log tree commit diff
path: root/pkgs/development/python-modules/deap/default.nix
blob: a6e901199204eee3848a09a83b4041d53ea26e10 (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
27
{ lib, buildPythonPackage, fetchPypi, numpy, matplotlib, nose }:

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

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-h3LxsP/wQtXlFrCuusLHBiQwRap9DejguGWPOAGBzzE=";
  };

  propagatedBuildInputs = [ numpy matplotlib ];

  nativeCheckInputs = [ nose ];
  checkPhase = ''
    nosetests --verbosity=3
  '';

  meta = with 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 ];
  };

}