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

* gnu/packages/emacs-xyz.scm (emacs-d-mode)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-30 21:00:06 +01:00
parent 5c54debc2f
commit 1e2d1712ea
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 9 deletions

View File

@ -1849,15 +1849,15 @@ evaluations. The entry point is @code{M-x build-farm} command.")
(package
(name "emacs-d-mode")
(version "2.0.9")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
"archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"127aa77ix3p7w4g339bx026df9y649dahlr3v359z0hs40zjz3kd"))))
(base32 "0fzplvi1sm8k2sabfdvrd7j2xypwqh0g9v1mxa75dajdmcd85zpj"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-undercover" ,emacs-undercover)))