summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorpinoaffe <pinoaffe@gmail.com>2023-07-25 17:33:40 +0200
committerClément Lassieur <clement@lassieur.org>2023-10-20 18:11:42 +0200
commitb3d0797d279b0aa48f6b652c149b7f974f3acc89 (patch)
tree8a1c97a0e43c9594e9d63dc30848182fb3356d6c /gnu
parentc8bacbf4ae39f6f9cb1bf0c1a77127765aa15a2c (diff)
downloadguix-b3d0797d279b0aa48f6b652c149b7f974f3acc89.tar.gz
gnu: Add emacs-org-street.
* gnu/packages/emacs-xyz.scm (emacs-org-street): New variable.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0c8c56868b..585821652f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4969,6 +4969,32 @@ directly inside Emacs.  It requires a Google Map Static API key to function.")
 reverse geocode using Nominatim, a component of OpenStreetMap.")
       (license license:gpl3+))))
 
+(define-public emacs-org-street
+  (let ((revision "0")
+        (commit "17913afe01504ee0cbcf83abaca18c5c618f9b33"))
+    (package
+      (name "emacs-org-street")
+      (version (git-version "0.7.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://codeberg.org/emacs-weirdware/org-street")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1a5mnnvs4yxrw4s71z9ap65xi0fc1ki1qprif5jxn8apswjlmiw1"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-nominatim))
+      (home-page "https://codeberg.org/emacs-weirdware/org-street")
+      (synopsis "(Reverse) Geocoding for Emacs Org files")
+      (description "Org Street is an extension for Org Mode for turning the
+names of places into a LOCATION property containing their address.  Given some
+freeform text approximately describing a location, it geocodes it with
+OpenStreetMap’s Nominatim API to determine a canonical location.  If Nominatim
+returns multiple locations, a list is displayed to choose from.")
+      (license license:gpl3+))))
+
 (define-public emacs-graphviz-dot-mode
   (package
     (name "emacs-graphviz-dot-mode")