From 0011dd0a01278b747dca9e5ede896813617d4a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 18 Mar 2022 15:44:54 +0100 Subject: [PATCH] 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 @@ (define-public emacs-osm (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