gnu: git-crypt: Don't use unstable tarball.

* gnu/packages/version-control.scm (git-crypt)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-30 15:47:38 +01:00
parent 0fe4601516
commit 09be6a5f12
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -577,14 +577,15 @@ (define-public git-crypt
(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)