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 (package
(name "emacs-cnfonts") (name "emacs-cnfonts")
(version "0.9.1") (version "0.9.1")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method git-fetch)
"https://github.com/tumashu/cnfonts/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/tumashu/cnfonts.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "11d44lf0m0kbzq1mvyqkl4aprys0xqaarp08nij57xnynin1rynx"))))
"1l6cgcvc6md1zq97ccczankpyi0k4vjx6apflny6kjq3p33lyhf4"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://github.com/tumashu/cnfonts") (home-page "https://github.com/tumashu/cnfonts")
(synopsis "Emacs Chinese fonts setup tool") (synopsis "Emacs Chinese fonts setup tool")