Merge pull request #41839 from Assassinkin/deap

pythonPackages.deap: init at 1.2.2
This commit is contained in:
Frederik Rietdijk 2018-06-12 18:25:22 +02:00 committed by GitHub
commit a8765ad7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -239,6 +239,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 { };