2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
27 lines
658 B
Nix
27 lines
658 B
Nix
{ lib, buildPythonPackage, fetchPypi, numpy, matplotlib, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "deap";
|
|
version = "1.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-zAHemJLfp9G8mAPasoiS/q0XfwGCyB20c2CiQOrXeP8=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|
|
|