nixpkgs/pkgs/development/python-modules/flaskbabel/default.nix

30 lines
601 B
Nix
Raw Normal View History

{ 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";
src = fetchPypi {
inherit pname version;
2018-11-04 11:34:59 +01:00
sha256 = "316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86";
};
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 ];
};
}