Merge pull request #268633 from GetPsyched/python/deap
python311Packages.deap: fix build
This commit is contained in:
commit
371c44265d
@ -1,4 +1,10 @@
|
||||
{ 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;
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ getpsyched psyanticy ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user