From 5478ab1ecea15b506c1c286af1aa8ec89f26aa10 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 24 Sep 2018 01:44:50 +0200 Subject: [PATCH] gnu: mbpfan: Don't use unstable tarball. * gnu/packages/linux.scm (mbpfan)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/linux.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ba0022a8a6..9e279b91e8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4830,13 +4830,14 @@ interface to this kernel feature.") (version "2.1.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dgraziotin/mbpfan/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dgraziotin/mbpfan.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1j44bpwv2zszih3cia9h7i7gb2gbfhzqh0s4kscbl7nplvyk3rlp")))) + "1gysq778rkl6dvvj9a1swxcl15wvz0bng5bn4nwq118cl8p8pask")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; tests ask to be run as root