about summary refs log tree commit diff
path: root/pkgs/development/python-modules/google-i18n-address/default.nix
blob: 53ce654e41bba367ec973c1510e81c2662352e51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ buildPythonPackage, fetchPypi, pythonAtLeast, lib, requests, pytestCheckHook, mock }:

buildPythonPackage rec {
  pname = "google-i18n-address";
  version = "2.4.0";
  disabled = pythonAtLeast "3.9";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8454a58f254a29988b8d1ca9ab663fd28a1f392a3d29b844d8824807db6333d7";
  };

  propagatedBuildInputs = [ requests ];

  checkInputs = [ pytestCheckHook mock ];

  meta = with lib; {
    description = "Google's i18n address data packaged for Python";
    homepage = "https://github.com/mirumee/google-i18n-address";
    maintainers = with maintainers; [ SuperSandro2000 ];
    license = licenses.bsd3;
  };
}