aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/version-control.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-30 15:47:38 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-10 20:53:56 +0200
commit09be6a5f122e0f898fb9e157fbcfb04af553ec57 (patch)
tree679d19ca372a0b16974dc93ada1ba5fed48e3449 /gnu/packages/version-control.scm
parent0fe4601516c878dfd3b40f796f85a4038f086637 (diff)
downloadpatches-09be6a5f122e0f898fb9e157fbcfb04af553ec57.tar
patches-09be6a5f122e0f898fb9e157fbcfb04af553ec57.tar.gz
gnu: git-crypt: Don't use unstable tarball.
* gnu/packages/version-control.scm (git-crypt)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r--gnu/packages/version-control.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 50284182c9..ab5f661d7a 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -577,14 +577,15 @@ write native speed custom Git applications in any language with bindings.")
(package
(name "git-crypt")
(version "0.5.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/AGWA/git-crypt"
- "/archive/" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0454fdmgm5f3razkn8n03lfqm5zyzvr4r2528zmlxiwba9518l2i"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AGWA/git-crypt.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1x9209n3k49k998saadr2d0lmvs01smjinx7gzzyjdwj9l904sii"))))
(build-system gnu-build-system)
(inputs
`(("git" ,git)