guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: emacs-async: Download using git.


From: Marius Bakke
Subject: 01/04: gnu: emacs-async: Download using git.
Date: Mon, 27 Aug 2018 19:21:45 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 3c3c3d1d92a6eca36cb79fb4edd4fd874ed6b842
Author: Marius Bakke <address@hidden>
Date:   Sun Aug 26 00:51:24 2018 +0200

    gnu: emacs-async: Download using git.
    
    The MELPA tarball hash changed.  Prevent this problem in the future
    by downloading a git checkout.
    
    * gnu/packages/emacs.scm (emacs-async)[home-page]: Update to actual.
    [source]: Use GIT-FETCH.
---
 gnu/packages/emacs.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 5150705..8665356 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1179,16 +1179,18 @@ rather than the contents of files.")
 (define-public emacs-async
   (package
     (name "emacs-async")
+    (home-page "https://github.com/jwiegley/emacs-async";)
     (version "1.9.3")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://stable.melpa.org/packages/async-";
-                                  version ".tar"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0xvi50y96y2qh81qkhj8p6ar1xnfasg58qvlsvgvvmdf4g8srlij"))))
+                "1zsnb6dy8p6y68xgidv3dfxaga4biramfw8fq7wac0sc50vc98vq"))))
     (build-system emacs-build-system)
-    (home-page "https://elpa.gnu.org/packages/async.html";)
     (synopsis "Asynchronous processing in Emacs")
     (description
      "This package provides the ability to call asynchronous functions and



reply via email to

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