summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-04 00:05:30 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-04 01:39:29 +0100
commit33cacc64863e03b0d049cb960c313aeae9d91ebd (patch)
tree3bf584f6b5513e0a2916419680243b2460b02015 /gnu/packages/python-web.scm
parentabf88791ea8b376b8790ce6b858b71a92eedad2c (diff)
gnu: python-xyzservices: Move to python-web.
* gnu/packages/python-xyz.scm (python-xyzservices): Move from here ... * gnu/packages/python-web.scm: ... to here. Change-Id: I5e8fbed0e3ba2369f5740529914ad9b9af8bb8ff
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3e880227c1..dcbff47234 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -12170,3 +12170,30 @@ hardware on Grid'5000 or via OpenStack, to Vagrant, Chameleon, and more.")
"This package provides a library and a command-line tool that lets
you download the entire Wayback Machine archive for a given URL.")
(license license:expat)))
+
+(define-public python-xyzservices
+ (package
+ (name "python-xyzservices")
+ (version "2025.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "xyzservices" version))
+ (sha256
+ (base32 "1n096zg9bd4n6w6axcm16m9sxdkc6qy1mipva0scbyj86rqn9rvg"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags #~(list "-m" "not request")))
+ (native-inputs
+ (list python-pytest
+ python-mercantile
+ python-requests
+ python-setuptools
+ python-setuptools-scm))
+ (home-page "https://github.com/geopandas/xyzservices")
+ (synopsis "Source of XYZ tiles providers")
+ (description "@code{xyzservices} is a lightweight library providing a
+repository of available XYZ services offering raster basemap tiles. The
+repository is provided via Python API and as a compressed JSON file.")
+ (license license:bsd-3)))