gnu: emacs-company-restclient: Don't use unstable tarball.

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

View File

@ -11379,14 +11379,13 @@ the current upstream.")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/iquiw/company-restclient/archive/"
"v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/iquiw/company-restclient.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1kr3f0wgqlk7r171bvb2kinv7fanwj2md01wdpx04qkgwcr1as00"))))
(base32 "0i1fh5lvqwlgn3g3fzh0xacxyljx6gkryipn133vfkv4jbns51n4"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-company" ,emacs-company)