2019-09-22 08:40:04 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, flask, mock, sqlalchemy, pytest }:
|
2018-09-28 09:55:36 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-SQLAlchemy";
|
2019-09-22 08:40:04 +00:00
|
|
|
version = "2.4.0";
|
2018-09-28 09:55:36 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-22 08:40:04 +00:00
|
|
|
sha256 = "0nnllf0ddbh9jlhngnyjj98lbxgxr1csaplllx0caw98syq0k5hc";
|
2018-09-28 09:55:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flask sqlalchemy ];
|
2019-09-22 08:40:04 +00:00
|
|
|
checkInputs = [ mock pytest ];
|
2018-09-28 09:55:36 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "SQLAlchemy extension for Flask";
|
|
|
|
homepage = http://flask-sqlalchemy.pocoo.org/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
};
|
|
|
|
}
|