gnu: emacs-terraform-mode: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-terraform-mode)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:34:21 +02:00
parent b98209bd56
commit 133ebfd045
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -8685,14 +8685,13 @@ (define-public emacs-terraform-mode
(version "0.06")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/syohex/emacs-terraform-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-terraform-mode.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0h9267ifdjmcin4sj8slxydbacx4bqicbvg8pa1qq2l72h9m5381"))))
(base32 "05hn8kskx9lcgn7bzgam99c629zlryir2pickwrqndacjrqpdykx"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-hcl-mode" ,emacs-hcl-mode)))