gnu: gitolite: Don't use unstable tarball.

* gnu/packages/version-control.scm (gitolite)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-30 20:22:00 +01:00
parent c8c42907a1
commit 6a8472d1d9
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1101,15 +1101,15 @@ (define-public gitolite
(package
(name "gitolite")
(version "3.6.7")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/sitaramc/gitolite/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1idxipg0df80bhjcxgwxs3lllqnkvhwpinmfv1xvg1l98fxiapgp"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sitaramc/gitolite.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0rmyzr66lxh2ildf3h1nh3hh2ndwk21rjdin50r5vhwbdd7jg8vb"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no tests