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
1 changed files with 6 additions and 7 deletions

View File

@ -8685,14 +8685,13 @@ highlighting and indentation support.")
(version "0.06") (version "0.06")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/syohex/emacs-terraform-mode/archive/" (url "https://github.com/syohex/emacs-terraform-mode.git")
version ".tar.gz")) (commit version)))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "05hn8kskx9lcgn7bzgam99c629zlryir2pickwrqndacjrqpdykx"))))
"0h9267ifdjmcin4sj8slxydbacx4bqicbvg8pa1qq2l72h9m5381"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(propagated-inputs (propagated-inputs
`(("emacs-hcl-mode" ,emacs-hcl-mode))) `(("emacs-hcl-mode" ,emacs-hcl-mode)))