19 marshmallow-sqlalchemy,
28 buildPythonPackage rec {
29 pname = "flask-appbuilder";
31 format = "setuptools";
33 disabled = pythonOlder "3.7";
36 pname = "Flask-AppBuilder";
38 hash = "sha256-S2EmfYgCmZFZUcbNEghW4Qc0TO6KEb6DJyXCH5vcX1k=";
41 propagatedBuildInputs = [
56 marshmallow-sqlalchemy
62 ] ++ apispec.optional-dependencies.yaml;
65 substituteInPlace setup.py \
66 --replace "apispec[yaml]>=3.3, <6" "apispec[yaml]" \
67 --replace "Flask-SQLAlchemy>=2.4, <3" "Flask-SQLAlchemy" \
68 --replace "Flask-Babel>=1, <3" "Flask-Babel" \
69 --replace "marshmallow-sqlalchemy>=0.22.0, <0.27.0" "marshmallow-sqlalchemy" \
70 --replace "prison>=0.2.1, <1.0.0" "prison"
73 # Majority of tests require network access or mongo
76 pythonImportsCheck = [ "flask_appbuilder" ];
79 description = "Application development framework, built on top of Flask";
80 homepage = "https://github.com/dpgaspar/flask-appbuilder/";
81 changelog = "https://github.com/dpgaspar/Flask-AppBuilder/blob/v${version}/CHANGELOG.rst";
82 license = licenses.bsd3;
84 # Support for flask-sqlalchemy >= 3.0 is missing, https://github.com/dpgaspar/Flask-AppBuilder/pull/1940