python310Packages.flask-migrate: rename from flask_migrate

This commit is contained in:
natsukium 2023-08-23 22:53:13 +09:00
parent 6733b198a4
commit 80a2425165
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53
6 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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=";
};

View File

@ -145,7 +145,7 @@ pythonPackages.buildPythonApplication rec {
flask-gravatar
flask-login
flask-mail
flask_migrate
flask-migrate
flask-sqlalchemy
flask-wtf
flask-compress

View File

@ -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

View File

@ -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 { };