diff --git a/pkgs/applications/misc/privacyidea/default.nix b/pkgs/applications/misc/privacyidea/default.nix index b05d6d482a2a..86a8f8aaf985 100644 --- a/pkgs/applications/misc/privacyidea/default.nix +++ b/pkgs/applications/misc/privacyidea/default.nix @@ -24,7 +24,7 @@ let alembic = super.alembic.overridePythonAttrs (lib.const { doCheck = false; }); - flask_migrate = super.flask_migrate.overridePythonAttrs (oldAttrs: rec { + flask-migrate = super.flask-migrate.overridePythonAttrs (oldAttrs: rec { version = "2.7.0"; src = fetchPypi { pname = "Flask-Migrate"; @@ -199,7 +199,7 @@ python3'.pkgs.buildPythonPackage rec { propagatedBuildInputs = with python3'.pkgs; [ cryptography pyrad pymysql python-dateutil flask-versioned flask_script - defusedxml croniter flask_migrate pyjwt configobj sqlsoup pillow + defusedxml croniter flask-migrate pyjwt configobj sqlsoup pillow python-gnupg passlib pyopenssl beautifulsoup4 smpplib flask-babel ldap3 huey pyyaml qrcode oauth2client requests lxml cbor2 psycopg2 pydash ecdsa google-auth importlib-metadata argon2-cffi bcrypt segno diff --git a/pkgs/applications/networking/powerdns-admin/default.nix b/pkgs/applications/networking/powerdns-admin/default.nix index 887b01f37939..0af5824eb0ed 100644 --- a/pkgs/applications/networking/powerdns-admin/default.nix +++ b/pkgs/applications/networking/powerdns-admin/default.nix @@ -12,7 +12,7 @@ let python = python3; pythonDeps = with python.pkgs; [ - flask flask-assets flask-login flask-sqlalchemy flask_migrate flask-seasurf flask-mail flask-session flask-session-captcha flask-sslify + flask flask-assets flask-login flask-sqlalchemy flask-migrate flask-seasurf flask-mail flask-session flask-session-captcha flask-sslify mysqlclient psycopg2 sqlalchemy certifi cffi configobj cryptography bcrypt requests python-ldap pyotp qrcode dnspython gunicorn itsdangerous python3-saml pytz rcssmin rjsmin authlib bravado-core diff --git a/pkgs/development/python-modules/flask-migrate/default.nix b/pkgs/development/python-modules/flask-migrate/default.nix index b6bdd4e8f373..f65912be08de 100644 --- a/pkgs/development/python-modules/flask-migrate/default.nix +++ b/pkgs/development/python-modules/flask-migrate/default.nix @@ -11,7 +11,7 @@ }: buildPythonPackage rec { - pname = "Flask-Migrate"; + pname = "flask-migrate"; version = "4.0.4"; format = "pyproject"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "miguelgrinberg"; - repo = pname; + repo = "Flask-Migrate"; rev = "v${version}"; hash = "sha256-x52LGYvXuTUCP9dR3FP7a/xNRWyCAV1sReDAYJbYDvE="; }; diff --git a/pkgs/tools/admin/pgadmin/default.nix b/pkgs/tools/admin/pgadmin/default.nix index 3d713cee1fd8..3040258c0ca7 100644 --- a/pkgs/tools/admin/pgadmin/default.nix +++ b/pkgs/tools/admin/pgadmin/default.nix @@ -145,7 +145,7 @@ pythonPackages.buildPythonApplication rec { flask-gravatar flask-login flask-mail - flask_migrate + flask-migrate flask-sqlalchemy flask-wtf flask-compress diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 415e41e28791..ed1a359762a9 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -136,6 +136,7 @@ mapAliases ({ flask_login = flask-login; # added 2022-10-17 flask_mail = flask-mail; # added 2023-08-23 flask_marshmallow = flask-marshmallow; # added 2023-08-16 + flask_migrate = flask-migrate; # added 2023-08-23 flask-restplus = throw "flask-restplus is no longer maintained, use flask-restx instead"; # added 2023-02-21 flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20 flask_testing = flask-testing; # added 2022-04-25 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 29777361c505..6ec661a210a0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3837,7 +3837,7 @@ self: super: with self; { flask-marshmallow = callPackage ../development/python-modules/flask-marshmallow { }; - flask_migrate = callPackage ../development/python-modules/flask-migrate { }; + flask-migrate = callPackage ../development/python-modules/flask-migrate { }; flask-mongoengine = callPackage ../development/python-modules/flask-mongoengine { };