From 5620360cf690d5d9c01f37cd202020e016d1595e Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 18 Dec 2021 23:51:28 +0100 Subject: 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 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 -- cgit v1.2.3