From d193a0e148ab622245e902a76d0ec2409ad0abcc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 12 Sep 2024 10:58:30 +0200 Subject: [PATCH 1/2] python312Packages.google-i18n-address: 3.1.0 -> 3.1.1 Diff: https://github.com/mirumee/google-i18n-address/compare/refs/tags/3.1.0...3.1.1 Changelog: https://github.com/mirumee/google-i18n-address/releases/tag/3.1.1 --- .../python-modules/google-i18n-address/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-i18n-address/default.nix b/pkgs/development/python-modules/google-i18n-address/default.nix index d13183bacf35..8be43a53ba10 100644 --- a/pkgs/development/python-modules/google-i18n-address/default.nix +++ b/pkgs/development/python-modules/google-i18n-address/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "google-i18n-address"; - version = "3.1.0"; + version = "3.1.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "mirumee"; repo = "google-i18n-address"; rev = "refs/tags/${version}"; - hash = "sha256-dW/1wwnFDjYpym1ZaSZ7mOLpkHxsvuAHC8zBRekxWaw="; + hash = "sha256-7RqS/+6zInlhWydJwp4xf2uGpfmSdiSwvJugpL8Mlpk="; }; nativeBuildInputs = [ hatchling ]; From 2d48e162ecbde0dd852777b2c7acee9efd9745cd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 12 Sep 2024 10:59:33 +0200 Subject: [PATCH 2/2] python312Packages.google-i18n-address: refactor --- .../python-modules/google-i18n-address/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/google-i18n-address/default.nix b/pkgs/development/python-modules/google-i18n-address/default.nix index 8be43a53ba10..49d081c8efa6 100644 --- a/pkgs/development/python-modules/google-i18n-address/default.nix +++ b/pkgs/development/python-modules/google-i18n-address/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "google-i18n-address"; version = "3.1.1"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -22,9 +22,9 @@ buildPythonPackage rec { hash = "sha256-7RqS/+6zInlhWydJwp4xf2uGpfmSdiSwvJugpL8Mlpk="; }; - nativeBuildInputs = [ hatchling ]; + build-system = [ hatchling ]; - propagatedBuildInputs = [ requests ]; + dependencies = [ requests ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -32,10 +32,10 @@ buildPythonPackage rec { meta = with lib; { description = "Google's i18n address data packaged for Python"; - mainProgram = "update-validation-files"; homepage = "https://github.com/mirumee/google-i18n-address"; changelog = "https://github.com/mirumee/google-i18n-address/releases/tag/${version}"; license = licenses.bsd3; maintainers = [ ]; + mainProgram = "update-validation-files"; }; }