depot/third_party/nixpkgs/pkgs/development/python-modules/flaskbabel/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
592 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flask
, jinja2
, speaklater
, Babel
, pytz
}:
buildPythonPackage rec {
pname = "Flask-Babel";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d";
};
propagatedBuildInputs = [ flask jinja2 speaklater Babel pytz ];
meta = with lib; {
description = "Adds i18n/l10n support to Flask applications";
homepage = "https://github.com/mitsuhiko/flask-babel";
license = licenses.bsd0;
maintainers = with maintainers; [ matejc ];
};
}