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

* gnu/packages/emacs-xyz.scm (emacs-cnfonts)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:26:02 +02:00
parent 96a15c65c6
commit 64f8e50c31
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -6704,15 +6704,15 @@ (define-public emacs-cnfonts
(package
(name "emacs-cnfonts")
(version "0.9.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/tumashu/cnfonts/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1l6cgcvc6md1zq97ccczankpyi0k4vjx6apflny6kjq3p33lyhf4"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tumashu/cnfonts.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "11d44lf0m0kbzq1mvyqkl4aprys0xqaarp08nij57xnynin1rynx"))))
(build-system emacs-build-system)
(home-page "https://github.com/tumashu/cnfonts")
(synopsis "Emacs Chinese fonts setup tool")