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-pk1MO1GXVHdEx8QffrD+Aga6Fnc2nOR5A90Iw8m3U70=";
41 propagatedBuildInputs = [
57 marshmallow-sqlalchemy
63 ] ++ apispec.optional-dependencies.yaml;
66 substituteInPlace setup.py \
67 --replace "apispec[yaml]>=3.3, <6" "apispec[yaml]" \
68 --replace "Flask-SQLAlchemy>=2.4, <3" "Flask-SQLAlchemy" \
69 --replace "Flask-Babel>=1, <3" "Flask-Babel" \
70 --replace "marshmallow-sqlalchemy>=0.22.0, <0.27.0" "marshmallow-sqlalchemy" \
71 --replace "prison>=0.2.1, <1.0.0" "prison"
74 # Majority of tests require network access or mongo
77 pythonImportsCheck = [
82 description = "Application development framework, built on top of Flask";
83 homepage = "https://github.com/dpgaspar/flask-appbuilder/";
84 changelog = "https://github.com/dpgaspar/Flask-AppBuilder/blob/v${version}/CHANGELOG.rst";
85 license = licenses.bsd3;
86 maintainers = with maintainers; [ ];
87 # Support for flask-sqlalchemy >= 3.0 is missing, https://github.com/dpgaspar/Flask-AppBuilder/pull/1940