python312Packages.google-i18n-address: refactor

This commit is contained in:
Fabian Affolter 2024-09-12 10:59:33 +02:00
parent d193a0e148
commit 2d48e162ec

View File

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-i18n-address"; pname = "google-i18n-address";
version = "3.1.1"; version = "3.1.1";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,9 +22,9 @@ buildPythonPackage rec {
hash = "sha256-7RqS/+6zInlhWydJwp4xf2uGpfmSdiSwvJugpL8Mlpk="; hash = "sha256-7RqS/+6zInlhWydJwp4xf2uGpfmSdiSwvJugpL8Mlpk=";
}; };
nativeBuildInputs = [ hatchling ]; build-system = [ hatchling ];
propagatedBuildInputs = [ requests ]; dependencies = [ requests ];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];
@ -32,10 +32,10 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google's i18n address data packaged for Python"; description = "Google's i18n address data packaged for Python";
mainProgram = "update-validation-files";
homepage = "https://github.com/mirumee/google-i18n-address"; homepage = "https://github.com/mirumee/google-i18n-address";
changelog = "https://github.com/mirumee/google-i18n-address/releases/tag/${version}"; changelog = "https://github.com/mirumee/google-i18n-address/releases/tag/${version}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ ]; maintainers = [ ];
mainProgram = "update-validation-files";
}; };
} }