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-8NaTr0RcnsVik/AB4g8QL+FkcRlgkkASFe8fXIvFt/A=";
43 # https://github.com/dpgaspar/Flask-AppBuilder/pull/1734
44 name = "flask-appbuilder-wtf3.patch";
45 url = "https://github.com/dpgaspar/Flask-AppBuilder/commit/bccb3d719cd3ceb872fe74a9ab304d74664fbf43.patch";
46 hash = "sha256-24mlS3HIs77wKOlwdHah5oks31OOmCBHmcafZT2ITOc=";
50 "examples/employees/app/views.py"
55 propagatedBuildInputs = [
70 marshmallow-sqlalchemy
79 substituteInPlace setup.py \
80 --replace "apispec[yaml]>=3.3, <4" "apispec[yaml] >=3.3" \
81 --replace "Flask-WTF>=0.14.2, <1.0.0" "Flask-WTF" \
82 --replace "WTForms<3.0.0" "WTForms" \
83 --replace "marshmallow-sqlalchemy>=0.22.0, <0.27.0" "marshmallow-sqlalchemy" \
84 --replace "prison>=0.2.1, <1.0.0" "prison"
87 # Majority of tests require network access or mongo
90 pythonImportsCheck = [
95 description = "Application development framework, built on top of Flask";
96 homepage = "https://github.com/dpgaspar/flask-appbuilder/";
97 license = licenses.bsd3;
98 maintainers = with maintainers; [ costrouc ];