2019-09-22 09:40:04 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, flask, mock, sqlalchemy, pytest }:
|
2018-09-28 10:55:36 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-SQLAlchemy";
|
2019-10-16 10:43:06 +01:00
|
|
|
version = "2.4.1";
|
2018-09-28 10:55:36 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:06 +01:00
|
|
|
sha256 = "6974785d913666587949f7c2946f7001e4fa2cb2d19f4e69ead02e4b8f50b33d";
|
2018-09-28 10:55:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flask sqlalchemy ];
|
2019-09-22 09:40:04 +01:00
|
|
|
checkInputs = [ mock pytest ];
|
2018-09-28 10:55:36 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "SQLAlchemy extension for Flask";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://flask-sqlalchemy.pocoo.org/";
|
2018-09-28 10:55:36 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
};
|
|
|
|
}
|