1{ lib 2, buildPythonPackage 3, unittestCheckHook 4, fetchPypi 5, flask 6, babel 7, jinja2 8, pytz 9, speaklater 10}: 11 12buildPythonPackage rec { 13 pname = "Flask-Babel"; 14 version = "2.0.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d"; 19 }; 20 21 propagatedBuildInputs = [ 22 flask 23 babel 24 jinja2 25 pytz 26 speaklater 27 ]; 28 29 unittestFlagsArray = [ "-s" "tests" ]; 30 31 meta = with lib; { 32 description = "Adds i18n/l10n support to Flask applications"; 33 longDescription = '' 34 Implements i18n and l10n support for Flask. 35 This is based on the Python babel module as well as pytz both of which are 36 installed automatically for you if you install this library. 37 ''; 38 license = licenses.bsd2; 39 maintainers = teams.sage.members; 40 homepage = "https://github.com/python-babel/flask-babel"; 41 }; 42}