privacyidea: explicitly use fetchPypi in flask-migrate override

The package moved to fetchFromGitHub, which does not support these kinds
of overrides.
This commit is contained in:
Martin Weinelt 2021-09-18 14:26:01 +02:00
parent 38d1ee33e9
commit 924cbbd2fd

View File

@ -14,7 +14,8 @@ let
}); });
flask_migrate = super.flask_migrate.overridePythonAttrs (oldAttrs: rec { flask_migrate = super.flask_migrate.overridePythonAttrs (oldAttrs: rec {
version = "2.7.0"; version = "2.7.0";
src = oldAttrs.src.override { src = python3.pkgs.fetchPypi {
pname = "Flask-Migrate";
inherit version; inherit version;
sha256 = "ae2f05671588762dd83a21d8b18c51fe355e86783e24594995ff8d7380dffe38"; sha256 = "ae2f05671588762dd83a21d8b18c51fe355e86783e24594995ff8d7380dffe38";
}; };