treewide: migrate to pythonPackages.unittestCheckHook

This commit is contained in:
Winter
2022-08-13 14:09:43 -04:00
parent e8fbb38a51
commit 19adc3341c
82 changed files with 278 additions and 417 deletions
@@ -6,7 +6,7 @@
, flask
, flask_script
, flask-sqlalchemy
, python
, unittestCheckHook
}:
buildPythonPackage rec {
@@ -33,15 +33,10 @@ buildPythonPackage rec {
];
checkInputs = [
unittestCheckHook
flask_script
];
checkPhase = ''
runHook preCheck
${python.interpreter} -m unittest discover
runHook postCheck
'';
meta = with lib; {
description = "SQLAlchemy database migrations for Flask applications using Alembic";
homepage = "https://github.com/miguelgrinberg/Flask-Migrate";