From fc14661c7b23d93d4fd3e2eacbbfc8dbe10807c5 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 25 Nov 2020 21:11:00 +0100 Subject: [PATCH] gnu: volk: Fetch from git repository. * gnu/packages/engineering.scm (volk)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/engineering.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 6463fb73f1..5a66d0a77c 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1080,11 +1080,13 @@ (define-public volk (version "2.3.0") (source (origin - (method url-fetch) - (uri (string-append "https://www.libvolk.org/releases/volk-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/gnuradio/volk") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1pjxz3piwy49njj5y2zk437prwkv9lfs5g48577jj3kcsg766vi3")))) + (base32 "1jya1v1z1mq50n5fxhs755vcdjvwiv2iqjmycn2l1bx552vzh6cg")))) (build-system cmake-build-system) (arguments `(#:phases