depot/third_party/nixpkgs/pkgs/development/python-modules/flask-sqlalchemy/default.nix
Default email c3ac4d4040 Project import generated by Copybara.
GitOrigin-RevId: 1158501e7c7cba26d922723cf9f70099995eb755
2022-09-14 15:05:37 -03:00

42 lines
795 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flask
, mock
, sqlalchemy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Flask-SQLAlchemy";
version = "2.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "2bda44b43e7cacb15d4e05ff3cc1f8bc97936cc464623424102bfc2c35e95912";
};
propagatedBuildInputs = [
flask
sqlalchemy
];
checkInputs = [
mock
pytestCheckHook
];
disabledTests = [
# flaky
"test_session_scoping_changing"
# https://github.com/pallets-eco/flask-sqlalchemy/issues/1084
"test_persist_selectable"
];
meta = with lib; {
description = "SQLAlchemy extension for Flask";
homepage = "http://flask-sqlalchemy.pocoo.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ gerschtli ];
};
}