Merge pull request #250993 from natsukium/flask/rename
python310Packages.flask_*: rename
This commit is contained in:
commit
7dd4b0ab51
14 changed files with 48 additions and 37 deletions
|
@ -100,7 +100,7 @@ let
|
|||
filetype
|
||||
flask
|
||||
flask-babel
|
||||
flask_assets
|
||||
flask-assets
|
||||
flask-login
|
||||
flask-limiter
|
||||
frozendict
|
||||
|
|
|
@ -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";
|
||||
|
@ -198,8 +198,8 @@ 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
|
||||
cryptography pyrad pymysql python-dateutil flask-versioned flask-script
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask_script, nose }:
|
||||
{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask-script, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Assets";
|
||||
pname = "flask-assets";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dfdea35e40744d46aada72831f7613d67bf38e8b20ccaaa9e91fdc37aa3b8c2";
|
||||
pname = "Flask-Assets";
|
||||
inherit version;
|
||||
hash = "sha256-Hf3qNeQHRNRqracoMfdhPWe/OOiyDMqqnpH9w3qjuMI=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
@ -15,7 +16,7 @@ buildPythonPackage rec {
|
|||
substituteInPlace tests/test_integration.py --replace "'/foo'" "'/x/foo'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ flask webassets flask_script nose ];
|
||||
propagatedBuildInputs = [ flask webassets flask-script nose ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/miracle2k/flask-assets";
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
, flask, elasticsearch }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Elastic";
|
||||
pname = "flask-elastic";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hqkwff6z78aspkf1cf815qwp02g3ch1y9dhm5v2ap8vakyac0az";
|
||||
pname = "Flask-Elastic";
|
||||
inherit version;
|
||||
hash = "sha256-XwGm/FQbXSV2qbAlHyAbT4DLcQnIseDm1Qqdb5zjE0M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask elasticsearch ];
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Mail";
|
||||
pname = "flask-mail";
|
||||
version = "0.9.1";
|
||||
|
||||
meta = {
|
||||
|
@ -13,8 +13,9 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hazjc351s3gfbhk975j8k65cg4gf31yq404yfy0gx0bjjdfpr92";
|
||||
pname = "Flask-Mail";
|
||||
inherit version;
|
||||
hash = "sha256-IuXrmpQL9Ae88wQQ7MNwjzxWzESynDThcm/oUAaTX0E=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ blinker flask ];
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
, pythonOlder
|
||||
, alembic
|
||||
, flask
|
||||
, flask_script
|
||||
, flask-script
|
||||
, flask-sqlalchemy
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
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=";
|
||||
};
|
||||
|
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
|||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
flask_script
|
||||
flask-script
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, flask, blinker, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Principal";
|
||||
pname = "flask-principal";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lwlr5smz8vfm5h9a9i7da3q1c24xqc6vm9jdywdpgxfbi5i7mpm";
|
||||
pname = "Flask-Principal";
|
||||
inherit version;
|
||||
hash = "sha256-9dYTS1yuv9u4bzLVbRjuRLCAh2onJpVgqW6jX3XJlFM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask blinker ];
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, flask, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Script";
|
||||
pname = "flask-script";
|
||||
version = "2.0.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0r8w2v89nj6b9p91p495cga5m72a673l2wc0hp0zqk05j4yrc9b4";
|
||||
pname = "Flask-Script";
|
||||
inherit version;
|
||||
hash = "sha256-ZCWWPZEFTPzBhYBxQccxSpxa1GMlkRvSTctIm9AWHGU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask ];
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
, email-validator
|
||||
, flask
|
||||
, flask-login
|
||||
, flask_principal
|
||||
, flask-principal
|
||||
, flask-wtf
|
||||
, itsdangerous
|
||||
, passlib
|
||||
|
@ -62,7 +62,7 @@ buildPythonPackage rec {
|
|||
email-validator
|
||||
flask
|
||||
flask-login
|
||||
flask_principal
|
||||
flask-principal
|
||||
flask-wtf
|
||||
itsdangerous
|
||||
passlib
|
||||
|
|
|
@ -40,7 +40,7 @@ python.pkgs.buildPythonApplication rec {
|
|||
chardet
|
||||
flask-babel
|
||||
flask-login
|
||||
flask_principal
|
||||
flask-principal
|
||||
flask-wtf
|
||||
flask-limiter
|
||||
iso-639
|
||||
|
|
|
@ -144,8 +144,8 @@ pythonPackages.buildPythonApplication rec {
|
|||
flask
|
||||
flask-gravatar
|
||||
flask-login
|
||||
flask_mail
|
||||
flask_migrate
|
||||
flask-mail
|
||||
flask-migrate
|
||||
flask-sqlalchemy
|
||||
flask-wtf
|
||||
flask-compress
|
||||
|
|
|
@ -131,9 +131,15 @@ mapAliases ({
|
|||
inherit (super.pkgs) fetchPypi; # added 2023-05-25
|
||||
filemagic = throw "inactive since 2014, so use python-magic instead"; # added 2022-11-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_mail = flask-mail; # added 2023-08-23
|
||||
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_script = flask-script; # added 2023-08-23
|
||||
flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
|
||||
flask_testing = flask-testing; # added 2022-04-25
|
||||
flask_wtf = flask-wtf; # added 2022-05-24
|
||||
|
|
|
@ -3797,7 +3797,7 @@ self: super: with self; {
|
|||
|
||||
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 { };
|
||||
|
||||
|
@ -3821,7 +3821,7 @@ self: super: with self; {
|
|||
|
||||
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 { };
|
||||
|
||||
|
@ -3835,13 +3835,13 @@ self: super: with self; {
|
|||
|
||||
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-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 { };
|
||||
|
||||
|
@ -3851,7 +3851,7 @@ self: super: with self; {
|
|||
|
||||
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 { };
|
||||
|
||||
|
@ -3861,7 +3861,7 @@ self: super: with self; {
|
|||
|
||||
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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue