3
0
Fork 0
forked from mirrors/nixpkgs

pgadmin: fix build

pin flask-sqlalchemy to a version < 3 to work with
the other flask override.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2023-01-16 20:13:48 +01:00
parent add94b83b1
commit eaec638080
No known key found for this signature in database
GPG key ID: 074048E893713170

View file

@ -83,6 +83,15 @@ let
sha256 = "sha256-FZcuUBffBXXD1sCQuhaLbbkCWeYgrI1+qBOjlrrVtss=";
};
});
# flask 2.1.3 is incompatible with flask-sqlalchemy > 3
flask-sqlalchemy = prev.flask-sqlalchemy.overridePythonAttrs (oldAttrs: rec {
version = "2.5.1";
format = "setuptools";
src = oldAttrs.src.override {
inherit version;
hash = "sha256-K9pEtD58rLFdTgX/PMH4vJeTbMRkYjQkECv8LDXpWRI=";
};
});
# pgadmin 6.18 is incompatible with the major flask-security-too update to 5.0.x
flask-security-too = prev.flask-security-too.overridePythonAttrs (oldAttrs: rec {
version = "4.1.5";