guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: emacs-web-mode: Don't use unstable tarball.


From: guix-commits
Subject: 03/06: gnu: emacs-web-mode: Don't use unstable tarball.
Date: Thu, 26 Sep 2019 00:59:31 -0400 (EDT)

leungbk pushed a commit to branch master
in repository guix.

commit 595c7c339ce6c77534089d2f020b8113d9df2fd7
Author: Brian Leung <address@hidden>
Date:   Wed Sep 25 21:08:54 2019 +0200

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c0a16ee..1537cf1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6411,13 +6411,14 @@ via @code{gitlab-ci-lint}.")
     (name "emacs-web-mode")
     (version "16")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://raw.githubusercontent.com/fxbois";
-                                  "/web-mode/v" version "/web-mode.el"))
-              (file-name (string-append "web-mode-" version ".el"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/fxbois/web-mode.git";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1hs5w7kdvcyn4ihyw1kfjg48djn5p7lz4rlbhzzdqv1g56xqx3gw"))))
+                "17dw6a8d0p304f2sa4f9zwd8r48w2wbkc3fvbmxwlg4w12h7cwf0"))))
     (build-system emacs-build-system)
     (synopsis "Major mode for editing web templates")
     (description "Web-mode is an Emacs major mode for editing web templates



reply via email to

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