guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: emacs-elixir-mode: Use git-fetch.


From: guix-commits
Subject: 01/01: gnu: emacs-elixir-mode: Use git-fetch.
Date: Tue, 17 Sep 2019 16:48:43 -0400 (EDT)

hoebjo pushed a commit to branch master
in repository guix.

commit 3a8d68badaca85122d91d8b7045daee87acb0aea
Author: Björn Höfling <address@hidden>
Date:   Tue Sep 17 22:23:42 2019 +0200

    gnu: emacs-elixir-mode: Use git-fetch.
    
    Fixes a source instability reported by Josh Holland
    in <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37437>
    
    * gnu/packages/emacs-xyz.scm (emacs-elixir-mode)[source]:
    Use GIT-FETCH & GIT-FILE-NAME.
---
 gnu/packages/emacs-xyz.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b2f057a..28443ae 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -53,6 +53,7 @@
 ;;; Copyright © 2019 Jens Mølgaard <address@hidden>
 ;;; Copyright © 2019 Amin Bandali <address@hidden>
 ;;; Copyright © 2019 Jelle Licht <address@hidden>
+;;; Copyright © 2019 Björn Höfling <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -18241,14 +18242,13 @@ Emacs that integrate with major modes like Org-mode.")
     (version "2.3.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://stable.melpa.org/packages/elixir-mode-";
-             version
-             ".tar"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/elixir-editors/emacs-elixir.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "091cizxg1aw8bkj58y048mj020ssapjflav633z9bl6gmi10dy4v"))))
+        (base32 "06bi68x49v6f7flpz279mm4jpg31ll3s274givm3pvr8slcxs6xg"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emacs-pkg-info" ,emacs-pkg-info)))



reply via email to

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