2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, flask, mock, sqlalchemy, pytest }:
|
2018-09-28 10:55:36 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-SQLAlchemy";
|
2021-03-24 09:28:12 +00:00
|
|
|
version = "2.5.1";
|
2018-09-28 10:55:36 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:12 +00:00
|
|
|
sha256 = "2bda44b43e7cacb15d4e05ff3cc1f8bc97936cc464623424102bfc2c35e95912";
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-28 10:55:36 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|