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.
master
Björn Höfling 2019-09-17 22:23:42 +02:00
parent 17bbd30d87
commit 3a8d68bada
No known key found for this signature in database
GPG Key ID: BF286CB6593E5FFD
1 changed files with 7 additions and 7 deletions

View File

@ -53,6 +53,7 @@
;;; Copyright © 2019 Jens Mølgaard <jens@zete.tk>
;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2019 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;;
;;; 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)))