gnu: Add python-geopy.

* gnu/packages/geo.scm (python-geopy): New variable.
This commit is contained in:
Efraim Flashner 2020-07-21 11:02:42 +03:00
parent 7bef1f6cd5
commit 481b0923f4
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 32 additions and 0 deletions

View File

@ -86,6 +86,7 @@
#:use-module (gnu packages protobuf)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
@ -2114,3 +2115,34 @@ architecture.")
(description
"This is a python implementation of the geodesic routines in GeographicLib.")
(license license:expat)))
(define-public python-geopy
(package
(name "python-geopy")
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "geopy" version))
(sha256
(base32
"0fx0cv0kgbvynpmjgsvq2fpsyngd5idiscdn8pd5201f1ngii3mq"))))
(build-system python-build-system)
(propagated-inputs
`(("python-geographiclib" ,python-geographiclib)))
(native-inputs
`(("python-async-generator" ,python-async-generator)
("python-coverage" ,python-coverage)
("python-flake8" ,python-flake8)
("python-isort" ,python-isort)
("python-pytest" ,python-pytest)
("python-pytest-aiohttp" ,python-pytest-aiohttp)
("python-readme-renderer" ,python-readme-renderer)
("python-pytz" ,python-pytz)))
(home-page "https://github.com/geopy/geopy")
(synopsis "Geocoding library for Python")
(description "@code{geopy} is a Python client for several popular geocoding
web services. @code{geopy} makes it easy for Python developers to locate the
coordinates of addresses, cities, countries, and landmarks across the globe
using third-party geocoders and other data sources.")
(license license:expat)))