guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/09: gnu: minisign: Fetch source from Git.


From: guix-commits
Subject: 01/09: gnu: minisign: Fetch source from Git.
Date: Sat, 18 Dec 2021 18:49:25 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 5620360cf690d5d9c01f37cd202020e016d1595e
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Dec 18 23:51:28 2021 +0100

    gnu: minisign: Fetch source from Git.
    
    * gnu/packages/crypto.scm (minisign)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/crypto.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index ba10a6c..21ff15c 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]