From 7d9d4dbb86d51be935e6e5a3f71f104af634e4cd Mon Sep 17 00:00:00 2001 From: jgart Date: Tue, 19 Aug 2025 13:45:18 -0500 Subject: [PATCH] gnu: Add python-whereismyip. * gnu/packages/python-xyz.scm (python-whereismyip): New variable. Change-Id: I7da706fb5c6e0ac3788397926f25b844a3b2d550 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 19528c58c79..2ab51bfe4a2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -47,7 +47,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Pradana Aumars ;;; Copyright © 2021, 2022, 2024 Arun Isaac -;;; Copyright © 2021, 2022, 2024 jgart +;;; Copyright © 2021-2022, 2024-2025 jgart ;;; Copyright © 2021 Alice Brenon ;;; Copyright © 2021 Mekeor Melire ;;; Copyright © 2022 John Kehayias @@ -11153,6 +11153,26 @@ Interface) framework/toolkit for building async web services in Python.") and FastAPI.") (license license:expat))) +(define-public python-whereismyip + (package + (name "python-whereismyip") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "whereismyip" version)) + (sha256 + (base32 "0psrlvax8249ccs2rvgdygpckzz22vxjcyzr2pql06d48k61gk54")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #false)) ; There are no tests. + (native-inputs (list python-setuptools-next)) + (home-page "https://pypi.org/project/whereismyip/") + (synopsis "Queries multiple geolocation services until one succeeds") + (description + "This package provides a simple Python library that queries multiple geolocation +services until one succeeds.") + (license license:gpl3))) + (define-public python-whitenoise (package (name "python-whitenoise")