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:
parent
3e4e74c10e
commit
0fe4601516
|
@ -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")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0766bbr4piia9vfr4ivd2gwi8dxah654adv6h28ylz4q8xmfzm1b"))))
|
||||||
"1gv1vinp2avnnn6an8ffcx79vmsdjhhikz7s6cmphligb26qp2vi"))))
|
|
||||||
(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")
|
||||||
|
|
Loading…
Reference in New Issue