aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-12-18 23:51:28 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-12-19 00:36:28 +0100
commit5620360cf690d5d9c01f37cd202020e016d1595e (patch)
tree19226e9827cb120691c6ce6b205ecf834a559bff
parentf6e79ef108a206a2fb3db550d76de760d581f8a8 (diff)
downloadguix-5620360cf690d5d9c01f37cd202020e016d1595e.tar.gz
guix-5620360cf690d5d9c01f37cd202020e016d1595e.zip
gnu: minisign: Fetch source from Git.
* gnu/packages/crypto.scm (minisign)[source]: Use GIT-FETCH and GIT-FILE-NAME.
-rw-r--r--gnu/packages/crypto.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index ba10a6c732..21ff15c68e 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1242,12 +1242,13 @@ quickly by using all your CPU cores and hardware acceleration.")
(version "0.9")
(source
(origin
- (method url-fetch)
- (uri
- (string-append "https://github.com/jedisct1/minisign/releases/download/"
- version "/minisign-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jedisct1/minisign")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1h9cfvvm6lqq33b2wdar1x3w4k7zyrscavllyb0l5dmcdabq60r2"))))
+ (base32 "0qx3hnkwx6ij0hgp5vc74x36qfc4h5wgzr70fqqhmv3zb8q9f2vn"))))
(build-system cmake-build-system)
(arguments
; No test suite