pythonPackages.flask-appbuilder: 2.1.6 -> 2.3.0

This commit is contained in:
Drew Risinger 2020-03-24 16:15:53 -04:00 committed by Jon
parent eef3ce0bbb
commit 0005b13fc5

View File

@ -25,12 +25,12 @@
buildPythonPackage rec {
pname = "flask-appbuilder";
version = "2.1.6";
version = "2.3.0";
src = fetchPypi {
pname = "Flask-AppBuilder";
inherit version;
sha256 = "a37d7d6a62407a2e0975af5305c795f2fb5c06ecc34e3cf64659d083b1b2dd5f";
sha256 = "04bsswi7daaqda01a83rd1f2gq6asii520f9arjf7bsy24pmbprc";
};
checkInputs = [
@ -60,12 +60,13 @@ buildPythonPackage rec {
];
postPatch = ''
substituteInPlace setup.py \
--replace "jsonschema>=3.0.1<4" "jsonschema" \
--replace "marshmallow>=2.18.0,<2.20" "marshmallow" \
--replace "PyJWT>=1.7.1" "PyJWT" \
--replace "Flask-SQLAlchemy>=2.4,<3" "Flask-SQLAlchemy" \
--replace "Flask-JWT-Extended>=3.18,<4" "Flask-JWT-Extended"
substituteInPlace setup.py \
--replace "apispec[yaml]>=1.1.1, <2" "apispec" \
--replace "jsonschema>=3.0.1, <4" "jsonschema" \
--replace "marshmallow>=2.18.0, <4.0.0" "marshmallow" \
--replace "PyJWT>=1.7.1" "PyJWT" \
--replace "Flask-SQLAlchemy>=2.4, <3" "Flask-SQLAlchemy" \
--replace "Flask-JWT-Extended>=3.18, <4" "Flask-JWT-Extended"
'';
# majority of tests require network access or mongo
@ -73,8 +74,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Simple and rapid application development framework, built on top of Flask";
homepage = https://github.com/dpgaspar/flask-appbuilder/;
homepage = "https://github.com/dpgaspar/flask-appbuilder/";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}