Merge pull request #250993 from natsukium/flask/rename

python310Packages.flask_*: rename
This commit is contained in:
Theodore Ni 2023-08-24 09:22:16 -07:00 committed by GitHub
commit 7dd4b0ab51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 48 additions and 37 deletions

View file

@ -100,7 +100,7 @@ let
filetype filetype
flask flask
flask-babel flask-babel
flask_assets flask-assets
flask-login flask-login
flask-limiter flask-limiter
frozendict frozendict

View file

@ -24,7 +24,7 @@ let
alembic = super.alembic.overridePythonAttrs (lib.const { alembic = super.alembic.overridePythonAttrs (lib.const {
doCheck = false; doCheck = false;
}); });
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 = fetchPypi { src = fetchPypi {
pname = "Flask-Migrate"; pname = "Flask-Migrate";
@ -198,8 +198,8 @@ python3'.pkgs.buildPythonPackage rec {
]; ];
propagatedBuildInputs = with python3'.pkgs; [ propagatedBuildInputs = with python3'.pkgs; [
cryptography pyrad pymysql python-dateutil flask-versioned flask_script 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 python-gnupg passlib pyopenssl beautifulsoup4 smpplib flask-babel
ldap3 huey pyyaml qrcode oauth2client requests lxml cbor2 psycopg2 ldap3 huey pyyaml qrcode oauth2client requests lxml cbor2 psycopg2
pydash ecdsa google-auth importlib-metadata argon2-cffi bcrypt segno pydash ecdsa google-auth importlib-metadata argon2-cffi bcrypt segno

View file

@ -12,7 +12,7 @@ let
python = python3; python = python3;
pythonDeps = with python.pkgs; [ 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 mysqlclient psycopg2 sqlalchemy
certifi cffi configobj cryptography bcrypt requests python-ldap pyotp qrcode dnspython certifi cffi configobj cryptography bcrypt requests python-ldap pyotp qrcode dnspython
gunicorn itsdangerous python3-saml pytz rcssmin rjsmin authlib bravado-core gunicorn itsdangerous python3-saml pytz rcssmin rjsmin authlib bravado-core

View file

@ -1,12 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask_script, nose }: { lib, buildPythonPackage, fetchPypi, flask, webassets, flask-script, nose }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Assets"; pname = "flask-assets";
version = "2.0"; version = "2.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "Flask-Assets";
sha256 = "1dfdea35e40744d46aada72831f7613d67bf38e8b20ccaaa9e91fdc37aa3b8c2"; inherit version;
hash = "sha256-Hf3qNeQHRNRqracoMfdhPWe/OOiyDMqqnpH9w3qjuMI=";
}; };
patchPhase = '' patchPhase = ''
@ -15,7 +16,7 @@ buildPythonPackage rec {
substituteInPlace tests/test_integration.py --replace "'/foo'" "'/x/foo'" substituteInPlace tests/test_integration.py --replace "'/foo'" "'/x/foo'"
''; '';
propagatedBuildInputs = [ flask webassets flask_script nose ]; propagatedBuildInputs = [ flask webassets flask-script nose ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/miracle2k/flask-assets"; homepage = "https://github.com/miracle2k/flask-assets";

View file

@ -2,12 +2,13 @@
, flask, elasticsearch }: , flask, elasticsearch }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Elastic"; pname = "flask-elastic";
version = "0.2"; version = "0.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "Flask-Elastic";
sha256 = "0hqkwff6z78aspkf1cf815qwp02g3ch1y9dhm5v2ap8vakyac0az"; inherit version;
hash = "sha256-XwGm/FQbXSV2qbAlHyAbT4DLcQnIseDm1Qqdb5zjE0M=";
}; };
propagatedBuildInputs = [ flask elasticsearch ]; propagatedBuildInputs = [ flask elasticsearch ];

View file

@ -3,7 +3,7 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Mail"; pname = "flask-mail";
version = "0.9.1"; version = "0.9.1";
meta = { meta = {
@ -13,8 +13,9 @@ buildPythonPackage rec {
}; };
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "Flask-Mail";
sha256 = "0hazjc351s3gfbhk975j8k65cg4gf31yq404yfy0gx0bjjdfpr92"; inherit version;
hash = "sha256-IuXrmpQL9Ae88wQQ7MNwjzxWzESynDThcm/oUAaTX0E=";
}; };
propagatedBuildInputs = [ blinker flask ]; propagatedBuildInputs = [ blinker flask ];

View file

@ -4,14 +4,14 @@
, pythonOlder , pythonOlder
, alembic , alembic
, flask , flask
, flask_script , flask-script
, flask-sqlalchemy , flask-sqlalchemy
, pytestCheckHook , pytestCheckHook
, setuptools , setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Migrate"; pname = "flask-migrate";
version = "4.0.4"; version = "4.0.4";
format = "pyproject"; format = "pyproject";
@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "miguelgrinberg"; owner = "miguelgrinberg";
repo = pname; repo = "Flask-Migrate";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-x52LGYvXuTUCP9dR3FP7a/xNRWyCAV1sReDAYJbYDvE="; hash = "sha256-x52LGYvXuTUCP9dR3FP7a/xNRWyCAV1sReDAYJbYDvE=";
}; };
@ -40,7 +40,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
flask_script flask-script
]; ];
meta = with lib; { meta = with lib; {

View file

@ -1,12 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, flask, blinker, nose }: { lib, buildPythonPackage, fetchPypi, flask, blinker, nose }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Principal"; pname = "flask-principal";
version = "0.4.0"; version = "0.4.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "Flask-Principal";
sha256 = "0lwlr5smz8vfm5h9a9i7da3q1c24xqc6vm9jdywdpgxfbi5i7mpm"; inherit version;
hash = "sha256-9dYTS1yuv9u4bzLVbRjuRLCAh2onJpVgqW6jX3XJlFM=";
}; };
propagatedBuildInputs = [ flask blinker ]; propagatedBuildInputs = [ flask blinker ];

View file

@ -1,12 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, flask, pytest }: { lib, buildPythonPackage, fetchPypi, flask, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Script"; pname = "flask-script";
version = "2.0.6"; version = "2.0.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "Flask-Script";
sha256 = "0r8w2v89nj6b9p91p495cga5m72a673l2wc0hp0zqk05j4yrc9b4"; inherit version;
hash = "sha256-ZCWWPZEFTPzBhYBxQccxSpxa1GMlkRvSTctIm9AWHGU=";
}; };
propagatedBuildInputs = [ flask ]; propagatedBuildInputs = [ flask ];

View file

@ -27,7 +27,7 @@
, email-validator , email-validator
, flask , flask
, flask-login , flask-login
, flask_principal , flask-principal
, flask-wtf , flask-wtf
, itsdangerous , itsdangerous
, passlib , passlib
@ -62,7 +62,7 @@ buildPythonPackage rec {
email-validator email-validator
flask flask
flask-login flask-login
flask_principal flask-principal
flask-wtf flask-wtf
itsdangerous itsdangerous
passlib passlib

View file

@ -40,7 +40,7 @@ python.pkgs.buildPythonApplication rec {
chardet chardet
flask-babel flask-babel
flask-login flask-login
flask_principal flask-principal
flask-wtf flask-wtf
flask-limiter flask-limiter
iso-639 iso-639

View file

@ -144,8 +144,8 @@ pythonPackages.buildPythonApplication rec {
flask flask
flask-gravatar flask-gravatar
flask-login flask-login
flask_mail flask-mail
flask_migrate flask-migrate
flask-sqlalchemy flask-sqlalchemy
flask-wtf flask-wtf
flask-compress flask-compress

View file

@ -131,9 +131,15 @@ mapAliases ({
inherit (super.pkgs) fetchPypi; # added 2023-05-25 inherit (super.pkgs) fetchPypi; # added 2023-05-25
filemagic = throw "inactive since 2014, so use python-magic instead"; # added 2022-11-19 filemagic = throw "inactive since 2014, so use python-magic instead"; # added 2022-11-19
flaskbabel = flask-babel; # added 2023-01-19 flaskbabel = flask-babel; # added 2023-01-19
flask_assets = flask-assets; # added 2023-08-23
flask_elastic = flask-elastic; # added 2023-08-23
flask_login = flask-login; # added 2022-10-17 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_marshmallow = flask-marshmallow; # added 2023-08-16
flask_migrate = flask-migrate; # added 2023-08-23
flask_principal = flask-principal; # added 2023-08-23
flask-restplus = throw "flask-restplus is no longer maintained, use flask-restx instead"; # added 2023-02-21 flask-restplus = throw "flask-restplus is no longer maintained, use flask-restx instead"; # added 2023-02-21
flask_script = flask-script; # added 2023-08-23
flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20 flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
flask_testing = flask-testing; # added 2022-04-25 flask_testing = flask-testing; # added 2022-04-25
flask_wtf = flask-wtf; # added 2022-05-24 flask_wtf = flask-wtf; # added 2022-05-24

View file

@ -3797,7 +3797,7 @@ self: super: with self; {
flask-appbuilder = callPackage ../development/python-modules/flask-appbuilder { }; flask-appbuilder = callPackage ../development/python-modules/flask-appbuilder { };
flask_assets = callPackage ../development/python-modules/flask-assets { }; flask-assets = callPackage ../development/python-modules/flask-assets { };
flask-autoindex = callPackage ../development/python-modules/flask-autoindex { }; flask-autoindex = callPackage ../development/python-modules/flask-autoindex { };
@ -3821,7 +3821,7 @@ self: super: with self; {
flask-cors = callPackage ../development/python-modules/flask-cors { }; flask-cors = callPackage ../development/python-modules/flask-cors { };
flask_elastic = callPackage ../development/python-modules/flask-elastic { }; flask-elastic = callPackage ../development/python-modules/flask-elastic { };
flask-expects-json = callPackage ../development/python-modules/flask-expects-json { }; flask-expects-json = callPackage ../development/python-modules/flask-expects-json { };
@ -3835,13 +3835,13 @@ self: super: with self; {
flask-login = callPackage ../development/python-modules/flask-login { }; flask-login = callPackage ../development/python-modules/flask-login { };
flask_mail = callPackage ../development/python-modules/flask-mail { }; flask-mail = callPackage ../development/python-modules/flask-mail { };
flask-mailman = callPackage ../development/python-modules/flask-mailman { }; flask-mailman = callPackage ../development/python-modules/flask-mailman { };
flask-marshmallow = callPackage ../development/python-modules/flask-marshmallow { }; 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 { }; flask-mongoengine = callPackage ../development/python-modules/flask-mongoengine { };
@ -3851,7 +3851,7 @@ self: super: with self; {
flask-paranoid = callPackage ../development/python-modules/flask-paranoid { }; flask-paranoid = callPackage ../development/python-modules/flask-paranoid { };
flask_principal = callPackage ../development/python-modules/flask-principal { }; flask-principal = callPackage ../development/python-modules/flask-principal { };
flask-pymongo = callPackage ../development/python-modules/Flask-PyMongo { }; flask-pymongo = callPackage ../development/python-modules/Flask-PyMongo { };
@ -3861,7 +3861,7 @@ self: super: with self; {
flask-reverse-proxy-fix = callPackage ../development/python-modules/flask-reverse-proxy-fix { }; flask-reverse-proxy-fix = callPackage ../development/python-modules/flask-reverse-proxy-fix { };
flask_script = callPackage ../development/python-modules/flask-script { }; flask-script = callPackage ../development/python-modules/flask-script { };
flask-seasurf = callPackage ../development/python-modules/flask-seasurf { }; flask-seasurf = callPackage ../development/python-modules/flask-seasurf { };