Merge pull request #186783 from mweinelt/flask-appbuilder
This commit is contained in:
commit
cb834b9cd6
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
|||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "Flask-AppBuilder";
|
pname = "Flask-AppBuilder";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-g+iHUL83PokXPGu7HJ8ffLocQr0uGpMqS5MbfIlZZ2E=";
|
hash = "sha256-8NaTr0RcnsVik/AB4g8QL+FkcRlgkkASFe8fXIvFt/A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -43,7 +43,7 @@ buildPythonPackage rec {
|
|||||||
# https://github.com/dpgaspar/Flask-AppBuilder/pull/1734
|
# https://github.com/dpgaspar/Flask-AppBuilder/pull/1734
|
||||||
name = "flask-appbuilder-wtf3.patch";
|
name = "flask-appbuilder-wtf3.patch";
|
||||||
url = "https://github.com/dpgaspar/Flask-AppBuilder/commit/bccb3d719cd3ceb872fe74a9ab304d74664fbf43.patch";
|
url = "https://github.com/dpgaspar/Flask-AppBuilder/commit/bccb3d719cd3ceb872fe74a9ab304d74664fbf43.patch";
|
||||||
sha256 = "sha256-8NaTr0RcnsVik/AB4g8QL+FkcRlgkkASFe8fXIvFt/A=";
|
hash = "sha256-24mlS3HIs77wKOlwdHah5oks31OOmCBHmcafZT2ITOc=";
|
||||||
excludes = [
|
excludes = [
|
||||||
"requirements.txt"
|
"requirements.txt"
|
||||||
"setup.py"
|
"setup.py"
|
||||||
@ -78,8 +78,7 @@ buildPythonPackage rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "apispec[yaml]>=3.3, <4" "apispec[yaml] >=3.3" \
|
--replace "apispec[yaml]>=3.3, <4" "apispec[yaml] >=3.3" \
|
||||||
--replace "Flask-Login>=0.3, <0.5" "Flask-Login >=0.3" \
|
--replace "Flask-WTF>=0.14.2, <1.0.0" "Flask-WTF" \
|
||||||
--replace "Flask-WTF>=0.14.2, <0.15.0" "Flask-WTF" \
|
|
||||||
--replace "WTForms<3.0.0" "WTForms" \
|
--replace "WTForms<3.0.0" "WTForms" \
|
||||||
--replace "marshmallow-sqlalchemy>=0.22.0, <0.27.0" "marshmallow-sqlalchemy" \
|
--replace "marshmallow-sqlalchemy>=0.22.0, <0.27.0" "marshmallow-sqlalchemy" \
|
||||||
--replace "prison>=0.2.1, <1.0.0" "prison"
|
--replace "prison>=0.2.1, <1.0.0" "prison"
|
||||||
|
Loading…
Reference in New Issue
Block a user