python311Packages.google-i18n-address: 2.5.2 -> 3.0.0

Changelog: https://github.com/mirumee/google-i18n-address/releases/tag/3.0.0
This commit is contained in:
Fabian Affolter
2023-06-07 23:26:54 +02:00
parent 12c75a0740
commit ba522b459c
@@ -1,31 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, requests
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-i18n-address";
version = "2.5.2";
version = "3.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mirumee";
repo = "google-i18n-address";
rev = "refs/tags/${version}";
hash = "sha256-7t5sNpEVajdwcW8+xTNZQKZVgxhUzfbVbEVgn7JJ2MY=";
hash = "sha256-eh0NcGJfIjCmgTyfSOlDNLrCvMnZKzkJkQb3txVmFAo=";
};
propagatedBuildInputs = [ requests ];
nativeBuildInputs = [
hatchling
];
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [
requests
];
pythonImportsCheck = [ "i18naddress" ];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"i18naddress"
];
meta = with lib; {
description = "Google's i18n address data packaged for Python";
homepage = "https://github.com/mirumee/google-i18n-address";
maintainers = with maintainers; [ SuperSandro2000 ];
changelog = "https://github.com/mirumee/google-i18n-address/releases/tag/${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}