mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
python3Packages.flask-babelex: drop (#346313)
* python3Packages.flask-babelex: drop broken and no packages depend on this. * python3Packages.flask-babelex: add python aliase
This commit is contained in:
parent
cd9a00431c
commit
53a9fff539
@ -1,54 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
flask,
|
||||
babel,
|
||||
speaklater,
|
||||
jinja2,
|
||||
pytestCheckHook,
|
||||
pytz,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-babelex";
|
||||
version = "0.9.4";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Flask-BabelEx";
|
||||
sha256 = "09yfr8hlwvpgvq8kp1y7qbnnl0q28hi0348bv199ssiqx779r99r";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
babel
|
||||
speaklater
|
||||
jinja2
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytz
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests/tests.py" ];
|
||||
|
||||
disabledTests = [
|
||||
# Disabled 3 tests failing due to string representations of dates:
|
||||
# Like "12. April 2010 um 15:46:00 MESZ" != 12. "April 2010 15:46:00 MESZ"
|
||||
"test_init_app"
|
||||
"test_custom_locale_selector"
|
||||
"test_basics"
|
||||
"test_non_initialized"
|
||||
"test_refreshing"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Adds i18n/l10n support to Flask applications";
|
||||
homepage = "https://github.com/mrjoes/flask-babelex";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -196,6 +196,7 @@ mapAliases ({
|
||||
filebrowser_safe = filebrowser-safe; # added 2024-01-03
|
||||
filemagic = throw "inactive since 2014, so use python-magic instead"; # added 2022-11-19
|
||||
flaskbabel = flask-babel; # added 2023-01-19
|
||||
flask-babelex = throw "flask-babelex package has been removed, use flask-babel instead"; # added 2024-10-07
|
||||
flask_assets = flask-assets; # added 2023-08-23
|
||||
flask_elastic = flask-elastic; # added 2023-08-23
|
||||
flask_login = flask-login; # added 2022-10-17
|
||||
|
@ -4495,8 +4495,6 @@ self: super: with self; {
|
||||
|
||||
flask-babel = callPackage ../development/python-modules/flask-babel { };
|
||||
|
||||
flask-babelex = callPackage ../development/python-modules/flask-babelex { };
|
||||
|
||||
flask-bcrypt = callPackage ../development/python-modules/flask-bcrypt { };
|
||||
|
||||
flask-bootstrap = callPackage ../development/python-modules/flask-bootstrap { };
|
||||
|
Loading…
Reference in New Issue
Block a user