2018-10-29 16:23:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, 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 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|