~ruther/guix-local

7d9d4dbb86d51be935e6e5a3f71f104af634e4cd — jgart 7 months ago 44577e1
gnu: Add python-whereismyip.

* gnu/packages/python-xyz.scm (python-whereismyip): New variable.

Change-Id: I7da706fb5c6e0ac3788397926f25b844a3b2d550
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 21 insertions(+), 1 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +21 -1
@@ 47,7 47,7 @@
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
;;; Copyright © 2021, 2022, 2024 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021, 2022, 2024 jgart <jgart@dismail.de>
;;; Copyright © 2021-2022, 2024-2025 jgart <jgart@dismail.de>
;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
;;; Copyright © 2021 Mekeor Melire <mekeor.melire@gmail.com>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>


@@ 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")