2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 16:23:59 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, jinja2
|
|
|
|
, speaklater
|
|
|
|
, Babel
|
|
|
|
, pytz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-Babel";
|
2020-11-29 14:04:28 +00:00
|
|
|
version = "2.0.0";
|
2018-10-29 16:23:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:28 +00:00
|
|
|
sha256 = "f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d";
|
2018-10-29 16:23:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flask jinja2 speaklater Babel pytz ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 16:23:59 +00:00
|
|
|
description = "Adds i18n/l10n support to Flask applications";
|
2020-03-27 23:29:51 +00:00
|
|
|
homepage = "https://github.com/mitsuhiko/flask-babel";
|
2018-10-29 16:23:59 +00:00
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = with maintainers; [ matejc ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|