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

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

View File

@ -7439,13 +7439,13 @@ a @url{http://json.org/, JSON} file.")
(version "1.7.0") (version "1.7.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/joshwnj/json-mode/archive/" (uri (git-reference
"v" version ".tar.gz")) (url "https://github.com/joshwnj/json-mode.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0i79lqzdg59vkqwjd3q092xxn9vhxspb1vn4pkis0vfvn46g01jy"))))
"06h45p4cn767pk9sqi2zb1c65wy5gyyijqxzpglp80zwxhvajdz5"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(propagated-inputs (propagated-inputs
`(("emacs-json-reformat" ,emacs-json-reformat) `(("emacs-json-reformat" ,emacs-json-reformat)