pythonPackages.flask-babelex: init at 0.9.3
This commit is contained in:
parent
9c983fbf04
commit
68520f783a
2 changed files with 46 additions and 0 deletions
44
pkgs/development/python-modules/flask-babelex/default.nix
Normal file
44
pkgs/development/python-modules/flask-babelex/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flask
|
||||
, Babel
|
||||
, speaklater
|
||||
, jinja2
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-babelex";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Flask-BabelEx";
|
||||
sha256 = "cf79cdedb5ce860166120136b0e059e9d97b8df07a3bc2411f6243de04b754b4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
Babel
|
||||
speaklater
|
||||
jinja2
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/tests.py -k "not test_init_app \
|
||||
and not test_custom_locale_selector \
|
||||
and not test_basics"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Adds i18n/l10n support to Flask applications";
|
||||
homepage = http://github.com/mrjoes/flask-babelex;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -3205,6 +3205,8 @@ in {
|
|||
|
||||
flask-babel = callPackage ../development/python-modules/flask-babel { };
|
||||
|
||||
flask-babelex = callPackage ../development/python-modules/flask-babelex { };
|
||||
|
||||
flask-bootstrap = callPackage ../development/python-modules/flask-bootstrap { };
|
||||
|
||||
flask-caching = callPackage ../development/python-modules/flask-caching { };
|
||||
|
|
Loading…
Reference in a new issue