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

* gnu/packages/emacs-xyz.scm (emacs-npm-mode)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:36:54 +02:00
parent 6c4f58ad60
commit 32ce5382ef
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 6 deletions

View File

@ -9672,13 +9672,13 @@ timestamps and date-time format strings library for Emacs.")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/mojochao/npm-mode/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/mojochao/npm-mode.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1kq1ww22dwf8c2i2b4z2ldbbmnihj65kb7n5vzvwkch9h4hxpqh5"))))
(base32 "1mh6nbffciw4yhv049kdhh796ysj1x21ndm3fwymhskb3dy0w1ss"))))
(build-system emacs-build-system)
(home-page "https://github.com/mojochao/npm-mode")
(synopsis "Minor mode for working with @code{npm} projects")