python3Packages.deap: add nose to checkInputs

This commit is contained in:
Ben Darwin 2020-03-26 13:00:20 -04:00 committed by Jon
parent ca2cf66f10
commit 93c9cb09bd

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib }: { stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib, nose }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "deap"; pname = "deap";
@ -11,6 +11,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ numpy matplotlib ]; propagatedBuildInputs = [ numpy matplotlib ];
checkInputs = [ nose ];
checkPhase = '' checkPhase = ''
${python.interpreter} setup.py nosetests --verbosity=3 ${python.interpreter} setup.py nosetests --verbosity=3
''; '';