Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-i18n-address / default.nix
blob88c60e45e134c5ef92031f744eb258912fc0ec3e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , hatchling
5 , requests
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "google-i18n-address";
12   version = "3.1.0";
13   format = "pyproject";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "mirumee";
19     repo = "google-i18n-address";
20     rev = "refs/tags/${version}";
21     hash = "sha256-dW/1wwnFDjYpym1ZaSZ7mOLpkHxsvuAHC8zBRekxWaw=";
22   };
24   nativeBuildInputs = [
25     hatchling
26   ];
28   propagatedBuildInputs = [
29     requests
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [
37     "i18naddress"
38   ];
40   meta = with lib; {
41     description = "Google's i18n address data packaged for Python";
42     mainProgram = "update-validation-files";
43     homepage = "https://github.com/mirumee/google-i18n-address";
44     changelog = "https://github.com/mirumee/google-i18n-address/releases/tag/${version}";
45     license = licenses.bsd3;
46     maintainers = with maintainers; [ ];
47   };