guix-commits
[Top][All Lists]
Advanced

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

09/09: gnu: emacs-irony-mode: Fetch source using git.


From: guix-commits
Subject: 09/09: gnu: emacs-irony-mode: Fetch source using git.
Date: Tue, 4 Dec 2018 05:19:53 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit f5a15a86b0ff1c358bfca1e89eabc18d2d5e7818
Author: Tim Gesthuizen <address@hidden>
Date:   Tue Nov 27 18:09:25 2018 +0100

    gnu: emacs-irony-mode: Fetch source using git.
    
    * gnu/packages/emacs.scm (emacs-irony-mode)[source]: Rewrite in terms of 
GIT-FETCH.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/emacs.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 69392e1..5070541 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2822,11 +2822,13 @@ These are distributed in separate files and can be used 
individually.")
     (version "1.2.0")
     (home-page "https://github.com/Sarcasm/irony-mode";)
     (source (origin
-              (method url-fetch)
-              (uri (string-append home-page "/archive/v" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url (string-append home-page ".git"))
+                    (commit (string-append "v" version))))
               (sha256
                (base32
-                "1f68zi0glkg2aly66s07rx3w0b0hdi1znxan02h6dbabaadylk99"))
+                "0nhjrnlmss535jbshjjd30vydbr8py21vkx4p294w6d8vg2rssf8"))
               (file-name (string-append name "-" version ".tar.gz"))))
     (build-system emacs-build-system)
     (arguments '())



reply via email to

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