2022-07-20 16:33:06 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, mock
|
|
|
|
, sqlalchemy
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
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
|
|
|
};
|
|
|
|
|
2022-07-20 16:33:06 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
flask
|
|
|
|
sqlalchemy
|
|
|
|
];
|
2018-09-28 10:55:36 +01:00
|
|
|
|
2022-07-20 16:33:06 +01:00
|
|
|
checkInputs = [
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# flaky
|
|
|
|
"test_session_scoping_changing"
|
2022-08-26 08:29:01 +01:00
|
|
|
# https://github.com/pallets-eco/flask-sqlalchemy/issues/1084
|
|
|
|
"test_persist_selectable"
|
2022-07-20 16:33:06 +01:00
|
|
|
];
|
2018-09-28 10:55:36 +01:00
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|