gnu: emacs-disable-mouse: Don't use unstable tarball.

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

View File

@ -7351,14 +7351,13 @@ running tests easier.")
(version "0.2")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/purcell/disable-mouse/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/purcell/disable-mouse.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc"))))
(base32 "1v1y5hf6k6ng7xsvgb27nh740d14m6l4krr0paccda8zgm4mw357"))))
(build-system emacs-build-system)
(home-page "https://github.com/purcell/disable-mouse")
(synopsis "Disable mouse commands globally")