diff options
author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2023-11-21 17:27:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 17:27:23 +0900 |
commit | 371c44265db021d9de000262837d32f235fdae2f (patch) | |
tree | 9bbe41d419a995c9bd80415902151649051fde39 /pkgs | |
parent | 37e6adc926fc74e270e86a544a41aecabb0effb1 (diff) | |
parent | c5a900825e8b7cc14f4a34770d1efc8214a0800a (diff) |
Merge pull request #268633 from GetPsyched/python/deap
python311Packages.deap: fix build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/deap/default.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/deap/default.nix b/pkgs/development/python-modules/deap/default.nix index 4f0d493c0f80c..ad69642a4f7bb 100644 --- a/pkgs/development/python-modules/deap/default.nix +++ b/pkgs/development/python-modules/deap/default.nix @@ -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 ]; }; - } - |