gnu: loksh: Don't use unstable tarball.

* gnu/packages/shells.scm (loksh)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-10-24 05:43:00 +02:00
parent d0d3ed6dfc
commit e5d757709a
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -572,13 +572,13 @@ (define-public loksh
(version "6.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/dimkr/loksh/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/dimkr/loksh.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0i1b60g1p19s5cnzz0nmjzjnxywm9szzyp1rcwfcx3gmzvrwr2sc"))))
(base32 "0hx57y73g807x321wpa6sr0vvw6igwhaq88rrdryjjbw6p4k0vcc"))))
(build-system gnu-build-system)
(inputs
`(("libbsd" ,libbsd)))