2022-05-18 14:49:53 +00:00
|
|
|
{ stdenv, lib, buildPythonPackage, fetchPypi, pytz, pytestCheckHook, freezegun }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "babel";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "2.10.3";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "Babel";
|
|
|
|
inherit version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-dhRVNxHul0kPcyEm3Ad/jQrghOvGqW4j2xSCr6vbLFE=";
|
2022-05-18 14:49:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytz ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook freezegun ];
|
|
|
|
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://babel.pocoo.org/";
|
|
|
|
description = "Collection of internationalizing tools";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|