gnu: emacs-constants: Don't use unstable tarball.

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

View File

@ -3186,13 +3186,13 @@ identifiers in the MIT-Scheme documentation.")
(home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants") (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
(source (source
(origin (origin
(file-name (string-append name "-" version ".tar.gz")) (method git-fetch)
(method url-fetch) (uri (git-reference
(uri (string-append "https://github.com/fedeinthemix/emacs-constants" (url "https://github.com/fedeinthemix/emacs-constants.git")
"/archive/v" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0f5sh6b45a8p9kancjp9jk44ws8ww6x50a0i6zgyyvr7dbvii1a0"))))
"0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(synopsis "Enter definition of constants into an Emacs buffer") (synopsis "Enter definition of constants into an Emacs buffer")
(description (description