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") (version "0.6.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/mojochao/npm-mode/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/mojochao/npm-mode.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1mh6nbffciw4yhv049kdhh796ysj1x21ndm3fwymhskb3dy0w1ss"))))
"1kq1ww22dwf8c2i2b4z2ldbbmnihj65kb7n5vzvwkch9h4hxpqh5"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://github.com/mojochao/npm-mode") (home-page "https://github.com/mojochao/npm-mode")
(synopsis "Minor mode for working with @code{npm} projects") (synopsis "Minor mode for working with @code{npm} projects")