gnu: vcsh: Don't use unstable tarball.

* gnu/packages/version-control.scm (vcsh)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-30 20:21:53 +01:00
parent 3d78bf0e10
commit c8c42907a1
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 8 deletions

View File

@ -1026,14 +1026,15 @@ manipulate them in various ways.")
(package
(name "vcsh")
(version "1.20151229")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/RichiH/vcsh/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/RichiH/vcsh.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1ym3swkh738c3vciffvlr96vqzhwmzkb8ajqzap8f0j9n039a1mf"))))
(base32 "1grpj45nbpv4j60vd2kg4rj53zrm0bc0h9l4pfd3c2mwbvywm6ab"))))
(build-system gnu-build-system)
(native-inputs
`(("which" ,which)))