aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-30 20:22:00 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-10 20:53:57 +0200
commit6a8472d1d982c9ef8ba623cc6546adf894601fab (patch)
tree31dfea21f970f767d8b01273b4b787707f4fe888 /gnu
parentc8c42907a1584fe23fd02621897f80f610b8aa55 (diff)
downloadpatches-6a8472d1d982c9ef8ba623cc6546adf894601fab.tar
patches-6a8472d1d982c9ef8ba623cc6546adf894601fab.tar.gz
gnu: gitolite: Don't use unstable tarball.
* gnu/packages/version-control.scm (gitolite)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/version-control.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8f06d42893..45413de579 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1101,15 +1101,15 @@ also walk each side of a merge and test those changes individually.")
(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