gnu: rust-half-2: Update to 2.3.1.

* gnu/packages/crates-io.scm (rust-half-2): Update to 2.3.1.
[arguments]: Add cargo-test-flags.
[cargo-inputs]: Add rust-cfg-if-1, rust-rand-0.8, rust-rand-distr-0.4.

Change-Id: I0f1338cbe0f6d414c091e34fb8ca2297e7ff6368
This commit is contained in:
Efraim Flashner 2024-01-07 08:40:43 +02:00
parent 1f4fac253a
commit 42a1db2b04
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -29242,19 +29242,28 @@ of gzip files based on the gzip header implementation in the @code{flate2} crate
(define-public rust-half-2
(package
(name "rust-half")
(version "2.2.1")
(version "2.3.1")
(source (origin
(method url-fetch)
(uri (crate-uri "half" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1l1gdlzxgm7wc8xl5fxas20kfi1j35iyb7vfjkghbdzijcvazd02"))))
(base32 "0wj8gfpgn4zkjzw6hlnwb0pa71hy1mwq5h3fnpql71n02qwyalmw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
`(#:cargo-test-flags
'("--release" "--"
"--skip=bfloat::test::test_nan_conversion_to_larger"
"--skip=bfloat::test::test_nan_conversion_to_smaller"
"--skip=binary16::test::test_nan_conversion_to_larger"
"--skip=binary16::test::test_nan_conversion_to_smaller")
#:cargo-inputs
(("rust-bytemuck" ,rust-bytemuck-1)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-crunchy" ,rust-crunchy-0.2)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-rand" ,rust-rand-0.8)
("rust-rand-distr" ,rust-rand-distr-0.4)
("rust-serde" ,rust-serde-1)
("rust-zerocopy" ,rust-zerocopy-0.6))
#:cargo-development-inputs