mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03: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
|
||||
click
|
||||
flask
|
||||
flaskbabel
|
||||
flask-babel
|
||||
jaraco_functools
|
||||
jinja2
|
||||
markdown2
|
||||
|
@ -68,7 +68,7 @@ buildPythonPackage rec {
|
||||
installed automatically for you if you install this library.
|
||||
'';
|
||||
license = licenses.bsd2;
|
||||
maintainers = teams.sage.members;
|
||||
maintainers = teams.sage.members ++ (with maintainers; [ matejc ]);
|
||||
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
|
||||
python-dateutil
|
||||
flask
|
||||
flaskbabel
|
||||
flask-babel
|
||||
gevent
|
||||
grequests
|
||||
jinja2
|
||||
|
@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
certifi
|
||||
python-dateutil
|
||||
flask
|
||||
flaskbabel
|
||||
flask-babel
|
||||
brotli
|
||||
jinja2
|
||||
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
|
||||
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
|
||||
flaskbabel = flask-babel; # added 2023-01-19
|
||||
flask_login = flask-login; # added 2022-10-17
|
||||
flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
|
||||
flask_testing = flask-testing; # added 2022-04-25
|
||||
|
@ -3369,8 +3369,6 @@ self: super: with self; {
|
||||
|
||||
flask-babel = callPackage ../development/python-modules/flask-babel { };
|
||||
|
||||
flaskbabel = callPackage ../development/python-modules/flaskbabel { };
|
||||
|
||||
flask-babelex = callPackage ../development/python-modules/flask-babelex { };
|
||||
|
||||
flask-basicauth = callPackage ../development/python-modules/flask-basicauth { };
|
||||
|
Loading…
Reference in New Issue
Block a user