1{ buildPythonPackage, fetchPypi, pythonAtLeast, lib, requests, pytestCheckHook, mock }:
2
3buildPythonPackage rec {
4 pname = "google-i18n-address";
5 version = "2.4.0";
6 disabled = pythonAtLeast "3.9";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "8454a58f254a29988b8d1ca9ab663fd28a1f392a3d29b844d8824807db6333d7";
11 };
12
13 propagatedBuildInputs = [ requests ];
14
15 checkInputs = [ pytestCheckHook mock ];
16
17 meta = with lib; {
18 description = "Google's i18n address data packaged for Python";
19 homepage = "https://github.com/mirumee/google-i18n-address";
20 maintainers = with maintainers; [ SuperSandro2000 ];
21 license = licenses.bsd3;
22 };
23}