From 1c811a8ce80248c3478634470ff10c2b9ba9aaa5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 13 Nov 2022 03:53:14 +0000 Subject: [PATCH 1/2] python310Packages.googlemaps: 4.6.0 -> 4.7.0 --- pkgs/development/python-modules/googlemaps/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/googlemaps/default.nix b/pkgs/development/python-modules/googlemaps/default.nix index f00a694dfcf4..1639e231098e 100644 --- a/pkgs/development/python-modules/googlemaps/default.nix +++ b/pkgs/development/python-modules/googlemaps/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "googlemaps"; - version = "4.6.0"; + version = "4.7.0"; disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = "googlemaps"; repo = "google-maps-services-python"; - rev = "v${version}"; - sha256 = "sha256-pzCM1uZupqJgoogwacuuy1P8I9LF65w7ZS6vY10VgeU="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-qn98b7oTU9/u0+EJ4OTOksLquJiWl/od9m498UuFiwo="; }; propagatedBuildInputs = [ requests ]; From cac2d43a7f58078233f4f9c998dc18a65b0c6c95 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 13 Nov 2022 10:58:37 +0100 Subject: [PATCH 2/2] python310Packages.googlemaps: add format --- .../python-modules/googlemaps/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/googlemaps/default.nix b/pkgs/development/python-modules/googlemaps/default.nix index 1639e231098e..e04cc6eca663 100644 --- a/pkgs/development/python-modules/googlemaps/default.nix +++ b/pkgs/development/python-modules/googlemaps/default.nix @@ -11,16 +11,20 @@ buildPythonPackage rec { pname = "googlemaps"; version = "4.7.0"; + format = "setuptools"; + disabled = pythonOlder "3.5"; src = fetchFromGitHub { owner = "googlemaps"; repo = "google-maps-services-python"; rev = "refs/tags/v${version}"; - sha256 = "sha256-qn98b7oTU9/u0+EJ4OTOksLquJiWl/od9m498UuFiwo="; + hash = "sha256-qn98b7oTU9/u0+EJ4OTOksLquJiWl/od9m498UuFiwo="; }; - propagatedBuildInputs = [ requests ]; + propagatedBuildInputs = [ + requests + ]; checkInputs = [ pytest-cov @@ -34,11 +38,13 @@ buildPythonPackage rec { "test_transit_without_time" ]; - pythonImportsCheck = [ "googlemaps" ]; + pythonImportsCheck = [ + "googlemaps" + ]; meta = with lib; { - homepage = "https://github.com/googlemaps/google-maps-services-python"; description = "Python client library for Google Maps API Web Services"; + homepage = "https://github.com/googlemaps/google-maps-services-python"; license = licenses.asl20; maintainers = with maintainers; [ Scriptkiddi ]; };