Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 658 B view raw
1{ lib, buildPythonPackage, fetchPypi, numpy, matplotlib, nose }: 2 3buildPythonPackage rec { 4 pname = "deap"; 5 version = "1.3.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 hash = "sha256-h3LxsP/wQtXlFrCuusLHBiQwRap9DejguGWPOAGBzzE="; 10 }; 11 12 propagatedBuildInputs = [ numpy matplotlib ]; 13 14 nativeCheckInputs = [ nose ]; 15 checkPhase = '' 16 nosetests --verbosity=3 17 ''; 18 19 meta = with lib; { 20 description = "DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas."; 21 homepage = "https://github.com/DEAP/deap"; 22 license = licenses.lgpl3; 23 maintainers = with maintainers; [ psyanticy ]; 24 }; 25 26} 27