summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-03-18 15:44:54 +0100
committerLudovic Courtès <ludo@gnu.org>2022-03-18 16:03:33 +0100
commit0011dd0a01278b747dca9e5ede896813617d4a96 (patch)
tree727a8a450ac37ead823f7965c9cb4642f55a4c39 /gnu
parent64677f40e090e2b4884fcd81c2d17575ac34ee86 (diff)
downloadguix-0011dd0a01278b747dca9e5ede896813617d4a96.tar.gz
gnu: emacs-osm: Fetch source over Git.
* gnu/packages/emacs-xyz.scm (emacs-osm)[source]: Switch to 'git-fetch'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 626470fca2..4089312085 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30808,15 +30808,15 @@ audio volume via amixer.")
   (package
     (name "emacs-osm")
     (version "0.6")
+    (home-page "https://github.com/minad/osm")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://elpa.gnu.org/packages/osm-"
-                           version ".tar"))
+       (method git-fetch)
+       (uri (git-reference (url home-page) (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0p19qyx4gw1rn2f5hlxa7gx1sph2z5vjw7cnxwpjhbbr0430zzwb"))))
+        (base32 "0aiq2z9vv4jsl0s0x9vpjgp0mnn27wanhirzj3h80ivgiphzs7l5"))))
     (build-system emacs-build-system)
-    (home-page "https://github.com/minad/osm")
     (synopsis "OpenStreetMap viewer for Emacs")
     (description
      "This package provides an OpenStreetMap viewer for Emacs, featuring