gnu: emacs-js2-mode: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-js2-mode)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
master
Tobias Geerinckx-Rice 2019-04-08 12:41:23 +02:00
parent 3e4e74c10e
commit 0fe4601516
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 8 deletions

View File

@ -4637,14 +4637,15 @@ to all the other commands, too.")
(package (package
(name "emacs-js2-mode") (name "emacs-js2-mode")
(version "20190219") (version "20190219")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/mooz/js2-mode/archive/" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/mooz/js2-mode.git")
(sha256 (commit version)))
(base32 (file-name (git-file-name name version))
"1gv1vinp2avnnn6an8ffcx79vmsdjhhikz7s6cmphligb26qp2vi")))) (sha256
(base32 "0766bbr4piia9vfr4ivd2gwi8dxah654adv6h28ylz4q8xmfzm1b"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://github.com/mooz/js2-mode/") (home-page "https://github.com/mooz/js2-mode/")
(synopsis "Improved JavaScript editing mode for Emacs") (synopsis "Improved JavaScript editing mode for Emacs")