Merge pull request #268633 from GetPsyched/python/deap

python311Packages.deap: fix build
This commit is contained in:
OTABI Tomoya 2023-11-21 17:27:23 +09:00 committed by GitHub
commit 371c44265d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];
};
}