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.
This commit is contained in:
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

View file

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