mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
python3Packages.flaskbabel: Drop in favor of flask-babel
This commit is contained in:
parent
6d1004086c
commit
48958930e7
@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
cheroot
|
cheroot
|
||||||
click
|
click
|
||||||
flask
|
flask
|
||||||
flaskbabel
|
flask-babel
|
||||||
jaraco_functools
|
jaraco_functools
|
||||||
jinja2
|
jinja2
|
||||||
markdown2
|
markdown2
|
||||||
|
@ -68,7 +68,7 @@ buildPythonPackage rec {
|
|||||||
installed automatically for you if you install this library.
|
installed automatically for you if you install this library.
|
||||||
'';
|
'';
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = teams.sage.members;
|
maintainers = teams.sage.members ++ (with maintainers; [ matejc ]);
|
||||||
homepage = "https://github.com/python-babel/flask-babel";
|
homepage = "https://github.com/python-babel/flask-babel";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
{ lib
|
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, flask
|
|
||||||
, jinja2
|
|
||||||
, speaklater
|
|
||||||
, babel
|
|
||||||
, pytz
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "Flask-Babel";
|
|
||||||
version = "2.0.0";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ flask jinja2 speaklater babel pytz ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Adds i18n/l10n support to Flask applications";
|
|
||||||
homepage = "https://github.com/mitsuhiko/flask-babel";
|
|
||||||
license = licenses.bsd0;
|
|
||||||
maintainers = with maintainers; [ matejc ];
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -27,7 +27,7 @@ toPythonModule (buildPythonApplication rec {
|
|||||||
certifi
|
certifi
|
||||||
python-dateutil
|
python-dateutil
|
||||||
flask
|
flask
|
||||||
flaskbabel
|
flask-babel
|
||||||
gevent
|
gevent
|
||||||
grequests
|
grequests
|
||||||
jinja2
|
jinja2
|
||||||
|
@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
certifi
|
certifi
|
||||||
python-dateutil
|
python-dateutil
|
||||||
flask
|
flask
|
||||||
flaskbabel
|
flask-babel
|
||||||
brotli
|
brotli
|
||||||
jinja2
|
jinja2
|
||||||
langdetect
|
langdetect
|
||||||
|
@ -80,6 +80,7 @@ mapAliases ({
|
|||||||
fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
|
fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
|
||||||
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
|
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
|
||||||
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
|
||||||
flask_login = flask-login; # added 2022-10-17
|
flask_login = flask-login; # added 2022-10-17
|
||||||
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
|
||||||
|
@ -3369,8 +3369,6 @@ self: super: with self; {
|
|||||||
|
|
||||||
flask-babel = callPackage ../development/python-modules/flask-babel { };
|
flask-babel = callPackage ../development/python-modules/flask-babel { };
|
||||||
|
|
||||||
flaskbabel = callPackage ../development/python-modules/flaskbabel { };
|
|
||||||
|
|
||||||
flask-babelex = callPackage ../development/python-modules/flask-babelex { };
|
flask-babelex = callPackage ../development/python-modules/flask-babelex { };
|
||||||
|
|
||||||
flask-basicauth = callPackage ../development/python-modules/flask-basicauth { };
|
flask-basicauth = callPackage ../development/python-modules/flask-basicauth { };
|
||||||
|
Loading…
Reference in New Issue
Block a user