guix-commits
[Top][All Lists]
Advanced

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

129/203: gnu: emacs-hcl-mode: Don't use unstable tarball.


From: guix-commits
Subject: 129/203: gnu: emacs-hcl-mode: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 14:57:33 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b98209bd56256492c43442c36a9eaa697160e185
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:34:09 2019 +0200

    gnu: emacs-hcl-mode: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-hcl-mode)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/emacs-xyz.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1d2c9a0..0b65146 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8663,14 +8663,13 @@ the pipeline, featuring the support for running 
@code{emacsclient}.")
     (version "0.03")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/syohex/emacs-hcl-mode/archive/";
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/syohex/emacs-hcl-mode.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0pvw74qpwh0znqzp6syp4wxjqs7dp1hbn5h7xfk97mff9l5d8k6x"))))
+        (base32 "0jqrgq15jz6pvx38pnwkizzfiih0d3nxqphyrc92nqpcyimg8b6g"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/syohex/emacs-hcl-mode";)
     (synopsis "Major mode for the Hashicorp Configuration Language")



reply via email to

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