2022-11-21 17:40:18 +00:00
|
|
|
{ stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder, pytz, pytestCheckHook, freezegun }:
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "babel";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "2.11.0";
|
|
|
|
disabled = pythonOlder "3.7";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "Babel";
|
|
|
|
inherit version;
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "sha256-XvSzImsBgN7d7UIpZRyLDho6aig31FoHMnLzE+TPl/Y=";
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytz ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook freezegun ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://babel.pocoo.org/";
|
|
|
|
description = "Collection of internationalizing tools";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|