5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
27 lines
654 B
Nix
27 lines
654 B
Nix
{ lib, buildPythonPackage, fetchPypi, numpy, matplotlib, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "deap";
|
|
version = "1.3.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-h3LxsP/wQtXlFrCuusLHBiQwRap9DejguGWPOAGBzzE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ numpy matplotlib ];
|
|
|
|
checkInputs = [ 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 ];
|
|
};
|
|
|
|
}
|
|
|