treewide: migrate to pythonPackages.unittestCheckHook
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user