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

* gnu/packages/emacs-xyz.scm (emacs-dedicated)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:35:09 +02:00
parent 647d25879d
commit 6e215be72f
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -9140,16 +9140,15 @@ (define-public emacs-dedicated
(package
(name "emacs-dedicated")
(version "1.0.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/emacsorphanage/dedicated/archive/"
version
".tar.gz"))
(sha256
(base32
"0nhbkp278cvcznb5rp3jp9ii3mjgb79zx8iwfrw7zfk3yg8688ni"))
(file-name (string-append name "-" version ".tar.gz"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/emacsorphanage/dedicated.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0pba9s0h37sxyqh733vi6k5raa4cs7aradipf3826inw36jcw414"))))
(build-system emacs-build-system)
(home-page "https://github.com/emacsorphanage/dedicated")
(synopsis "Emacs minor mode for toggling a windows's \"dedicated\" flag")