Subject: [PATCH] Add emacs-osm
From: Allan Adair <[email-masked]>
To: [email-masked]
Date: Wed, 16 Mar 2022 13:28:11 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

From 977dc0a27d593a2888590672dca1b02c8a838841 Mon Sep 17 00:00:00 2001
From: Allan Adair <[email-masked]>
Date: Wed, 16 Mar 2022 13:21:24 +0100
Subject: [PATCH] gnu: Add emacs-osm.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 826c2141a9..9ba8b2bef6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30803,3 +30803,20 @@ (define-public emacs-fennel-mode
      "Fennel mode provides font-lock, indentation, navigation, and REPL for
  Fennel code within Emacs.")
     (license license:gpl3+)))
+
+(define-public emacs-osm
+  (package
+   (name "emacs-osm")
+   (version "0.4")
+   (source
+    (origin
+      (method url-fetch)
+      (uri (string-append "https://elpa.gnu.org/packages/osm-" version ".tar"))
+      (sha256
+       (base32 "0dgyn3nx2jyyn0z61k9xn28m2gc9nc8z66kj886l4gnp0k5bbva8"))))
+   (build-system emacs-build-system)
+   (home-page "https://github.com/minad/osm")
+   (synopsis "OpenStreetMap viewer")
+   (description "@code{emacs-osm} is an OpenStreetMap viewer for Emacs")
+   (license license:gpl3+)))
+
-- 
2.34.0