aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-09-26 19:13:07 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-09-28 18:23:01 +0200
commitf289820c31f0d493caaa6d1d9fac7750176ba492 (patch)
treea5ef11a9a1598f83bdcf8fd5435ba3d69ff98797
parentc6b772a059da1f47a0561ca915f43c1399ee8c65 (diff)
downloadpatches-f289820c31f0d493caaa6d1d9fac7750176ba492.tar
patches-f289820c31f0d493caaa6d1d9fac7750176ba492.tar.gz
gnu: rng-tools: Don't use unstable tarball.
* gnu/packages/linux.scm (rng-tools)[source]: Use GIT-FETCH.
-rw-r--r--gnu/packages/linux.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a6efded72d..a3c2c4c946 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3671,13 +3671,13 @@ The collection contains a set of bandwidth and latency benchmark such as:
(home-page "https://github.com/nhorman/rng-tools")
(version "6.4")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/nhorman/rng-tools/"
- "archive/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "005krksl8iz37l5p1nx8apl1yg7q78yrsb6inby31d2g5ck8nnwa"))))
+ "10r8vy240q04xx6j48qm063w0ssp0dkxchvq6x3fwd9bwp8m3sj7"))))
(build-system gnu-build-system)
(arguments
`(;; Avoid using OpenSSL, curl, and libxml2, reducing the closure by 166 MiB.