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

* gnu/packages/emacs-xyz.scm (emacs-hcl-mode)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:34:09 +02:00
parent 78b035ae20
commit b98209bd56
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 7 deletions

View File

@ -8663,14 +8663,13 @@ the pipeline, featuring the support for running @code{emacsclient}.")
(version "0.03")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/syohex/emacs-hcl-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-hcl-mode.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0pvw74qpwh0znqzp6syp4wxjqs7dp1hbn5h7xfk97mff9l5d8k6x"))))
(base32 "0jqrgq15jz6pvx38pnwkizzfiih0d3nxqphyrc92nqpcyimg8b6g"))))
(build-system emacs-build-system)
(home-page "https://github.com/syohex/emacs-hcl-mode")
(synopsis "Major mode for the Hashicorp Configuration Language")