2018-10-29 17:23:59 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, jinja2
|
|
|
|
, speaklater
|
|
|
|
, Babel
|
|
|
|
, pytz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Flask-Babel";
|
2018-11-04 11:34:59 +01:00
|
|
|
version = "0.12.2";
|
2018-10-29 17:23:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 11:34:59 +01:00
|
|
|
sha256 = "316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86";
|
2018-10-29 17:23:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flask jinja2 speaklater Babel pytz ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Adds i18n/l10n support to Flask applications";
|
|
|
|
homepage = https://github.com/mitsuhiko/flask-babel;
|
|
|
|
license = licenses.bsd0;
|
|
|
|
maintainers = with maintainers; [ matejc ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|