1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: rng-tools: Rewrite using gexps.

* gnu/packages/linux.scm (rng-tools)[arguments]: Rewrite using gexps.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Bruno Victal
2023-02-27 16:14:55 +00:00
committed by Christopher Baines
parent 79ba6380cf
commit 9baadac2b7

View File

@@ -6686,20 +6686,21 @@ The collection contains a set of bandwidth and latency benchmark such as:
"0i00if7xknpm0dhkrm60rxzyyvq0vdibq7dvsd2ncm9pg098qvwj"))))
(build-system gnu-build-system)
(arguments
`(;; Disable support for various hardware entropy sources as they need
;; dependencies that are not yet in Guix, and would significantly
;; increase closure size.
#:configure-flags '("--without-nistbeacon"
"--without-pkcs11"
"--without-rtlsdr")
#:phases
(modify-phases %standard-phases
(add-before 'check 'disable-failing-test
(lambda _
(substitute* "tests/Makefile"
;; This test requires a hwrng, rdrand, or tpm device.
;; Worse, it appears to fail if that isn't sufficiently random.
(("\\brngtestjitter\\.sh\\b") " ")))))))
(list
;; Disable support for various hardware entropy sources as they need
;; dependencies that are not yet in Guix, and would significantly
;; increase closure size.
#:configure-flags #~(list "--without-nistbeacon"
"--without-pkcs11"
"--without-rtlsdr")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'disable-failing-test
(lambda _
(substitute* "tests/Makefile"
;; This test requires a hwrng, rdrand, or tpm device.
;; Worse, it appears to fail if that isn't sufficiently random.
(("\\brngtestjitter\\.sh\\b") " ")))))))
(native-inputs
(list autoconf automake pkg-config))
(inputs