guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/17: gnu: emacs-osm: Fetch source over Git.


From: guix-commits
Subject: 10/17: gnu: emacs-osm: Fetch source over Git.
Date: Fri, 18 Mar 2022 11:05:29 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 0011dd0a01278b747dca9e5ede896813617d4a96
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Mar 18 15:44:54 2022 +0100

    gnu: emacs-osm: Fetch source over Git.
    
    * gnu/packages/emacs-xyz.scm (emacs-osm)[source]: Switch to 'git-fetch'.
---
 gnu/packages/emacs-xyz.scm | 10 +++++-----
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]