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.
This commit is contained in:
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 Jens Mølgaard <jens@zete.tk>
;;; Copyright © 2019 Amin Bandali <bandali@gnu.org> ;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.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. ;;; This file is part of GNU Guix.
;;; ;;;
@ -18241,14 +18242,13 @@ Emacs that integrate with major modes like Org-mode.")
(version "2.3.1") (version "2.3.1")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://stable.melpa.org/packages/elixir-mode-" (url "https://github.com/elixir-editors/emacs-elixir.git")
version (commit (string-append "v" version))))
".tar")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "06bi68x49v6f7flpz279mm4jpg31ll3s274givm3pvr8slcxs6xg"))))
"091cizxg1aw8bkj58y048mj020ssapjflav633z9bl6gmi10dy4v"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(propagated-inputs (propagated-inputs
`(("emacs-pkg-info" ,emacs-pkg-info))) `(("emacs-pkg-info" ,emacs-pkg-info)))