Unverified Commit 254486b5 authored by GetPsyched's avatar GetPsyched
Browse files

python311Packages.deap: fix build

parent 3f21a22b
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, numpy, matplotlib, nose }:
{ lib
, buildPythonPackage
, fetchPypi
, matplotlib
, numpy
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "deap";
@@ -9,19 +15,13 @@ buildPythonPackage rec {
    hash = "sha256-zAHemJLfp9G8mAPasoiS/q0XfwGCyB20c2CiQOrXeP8=";
  };

  propagatedBuildInputs = [ numpy matplotlib ];

  nativeCheckInputs = [ nose ];
  checkPhase = ''
    nosetests --verbosity=3
  '';
  propagatedBuildInputs = [ matplotlib numpy ];
  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas.";
    description = "A novel evolutionary computation framework for rapid prototyping and testing of ideas";
    homepage = "https://github.com/DEAP/deap";
    license = licenses.lgpl3;
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ psyanticy ];
  };

}