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