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