gnu: emacs-shut-up: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-shut-up)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-31 04:19:08 +02:00
parent 5234760dea
commit 0639d6fc86
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2313,13 +2313,13 @@ (define-public emacs-shut-up
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/cask/shut-up/"
"archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/cask/shut-up.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
(base32 "103yvfgkj78i4bnv1fwk76izsa8h4wyj3vwj1vq7xggj607hkxzq"))))
(build-system emacs-build-system)
(home-page "https://github.com/cask/shut-up")
(synopsis "Silence Emacs")