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";
|
2020-06-05 17:44:34 +00:00
|
|
|
version = "2.4.3";
|
2018-09-28 09:55:36 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 17:44:34 +00:00
|
|
|
sha256 = "0b656fbf87c5f24109d859bafa791d29751fabbda2302b606881ae5485b557a5";
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://flask-sqlalchemy.pocoo.org/";
|
2018-09-28 09:55:36 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ gerschtli ];
|
|
|
|
};
|
|
|
|
}
|