3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/deap/default.nix

27 lines
672 B
Nix
Raw Normal View History

2018-06-11 14:24:20 +01:00
{ stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib }:
buildPythonPackage rec {
pname = "deap";
2019-07-08 06:05:38 +01:00
version = "1.3.0";
2018-06-11 14:24:20 +01:00
src = fetchPypi {
inherit pname version;
2019-07-08 06:05:38 +01:00
sha256 = "102r11pxb36xkq5bjv1lpkss77v278f5xdv6lvkbjdvqryydf3yd";
2018-06-11 14:24:20 +01:00
};
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.";
2019-07-08 06:05:38 +01:00
homepage = "https://github.com/DEAP/deap";
2018-06-11 14:24:20 +01:00
license = licenses.lgpl3;
maintainers = with maintainers; [ psyanticy ];
};
}