pythonPackages.deap: init at 1.2.2

This commit is contained in:
nagato.pain 2018-06-11 06:24:20 -07:00
parent b325fc7d02
commit c8cc418b8d
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib }:
buildPythonPackage rec {
pname = "deap";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "95c63e66d755ec206c80fdb2908851c0bef420ee8651ad7be4f0578e9e909bcf";
};
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 ];
};
}

View File

@ -237,6 +237,8 @@ in {
dbfread = callPackage ../development/python-modules/dbfread { };
deap = callPackage ../development/python-modules/deap { };
dkimpy = callPackage ../development/python-modules/dkimpy { };
diff_cover = callPackage ../development/python-modules/diff_cover { };