1{ stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder, pytz, pytestCheckHook, freezegun }:
2
3buildPythonPackage rec {
4 pname = "babel";
5 version = "2.11.0";
6 disabled = pythonOlder "3.7";
7
8 src = fetchPypi {
9 pname = "Babel";
10 inherit version;
11 sha256 = "sha256-XvSzImsBgN7d7UIpZRyLDho6aig31FoHMnLzE+TPl/Y=";
12 };
13
14 propagatedBuildInputs = [ pytz ];
15
16 checkInputs = [ pytestCheckHook freezegun ];
17
18 meta = with lib; {
19 homepage = "https://babel.pocoo.org/";
20 description = "Collection of internationalizing tools";
21 license = licenses.bsd3;
22 maintainers = with maintainers; [ SuperSandro2000 ];
23 };
24}