Subject: [PATCH 1/2] gnu: Add emacs-nominatim.

From: pinoaffe <[email-masked]>
Date: Tue, 25 Jul 2023 17:33:27 +0200

* gnu/packages/emacs-xyz.scm (emacs-nominatim): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d7e45fffc6..78469c1cf5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4748,6 +4748,30 @@ (define-public emacs-google-maps
 directly inside Emacs.  It requires a Google Map Static API key to function.")
       (license license:gpl3+))))
 
+(define-public emacs-nominatim
+  ;; There has been no new release tag since july 2022
+  (let ((release "0.9.3")
+        (revision "0")
+        (commit "f814e16f8f4e2cfd633f52b29699a009ab704fbf"))
+  (package
+    (name "emacs-nominatim")
+    (version (git-version release revision commit))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://codeberg.org/emacs-weirdware/nominatim")
+                    (commit commit)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "19nw2iy8fxy6mfd4nwrdfa23a74a1b644400xx0900fwn6ihjhpl"))))
+    (build-system emacs-build-system)
+    (home-page "https://codeberg.org/emacs-weirdware/nominatim")
+    (synopsis "Forward and reverse geocode using Nominatim inside Emacs")
+    (description "This is an Emacs library which lets you forward and reverse
+geocode using Nominatim, a component of OpenStreetMap.")
+    (license license:gpl3+))))
+
 (define-public emacs-graphviz-dot-mode
   (package
     (name "emacs-graphviz-dot-mode")

base-commit: 005912c595bf7a3329f8aa51a4ccb1d91b6ecd9e
-- 
2.41.0