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
1 changed files with 9 additions and 10 deletions

View File

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