2018-10-29 16:23:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, jinja2
|
|
|
|
, speaklater
|
|
|
|
, Babel
|
|
|
|
, pytz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-Babel";
|
2020-03-27 23:29:51 +00:00
|
|
|
version = "1.0.0";
|
2018-10-29 16:23:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-27 23:29:51 +00:00
|
|
|
sha256 = "0gmb165vkwv5v7dxsxa2i3zhafns0fh938m2zdcrv4d8z5l099yn";
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|