gnu: rust-glib-0.18: Update to 0.18.5.

* gnu/packages/crates-gtk.scm (rust-glib-0.18): Update to 0.18.5.
[arguments]: Don't skip the tests.  Add cargo-test-flags.
[cargo-development-inputs]: Replace rust-criterion-0.4 with 0.5.

Change-Id: Ie0a90af903945305cbabc6ca1ae3b336b23234ab
This commit is contained in:
Efraim Flashner 2024-01-22 11:21:49 +02:00
parent 859ac98cc8
commit 3845be1693
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1403,17 +1403,19 @@
(define-public rust-glib-0.18 (define-public rust-glib-0.18
(package (package
(name "rust-glib") (name "rust-glib")
(version "0.18.2") (version "0.18.5")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "glib" version)) (uri (crate-uri "glib" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "06dxrhispzz20n33b5k2gg723p27rprc87xbxb2ng06f07xnlc8w")))) (base32 "1r8fw0627nmn19bgk3xpmcfngx3wkn7mcpq5a8ma3risx3valg93"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` `(#:cargo-test-flags
'("--release" "--"
"--skip=structured_log")
#:cargo-inputs #:cargo-inputs
(("rust-bitflags" ,rust-bitflags-2) (("rust-bitflags" ,rust-bitflags-2)
("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-channel" ,rust-futures-channel-0.3)
@ -1432,7 +1434,7 @@
("rust-smallvec" ,rust-smallvec-1) ("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1)) ("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.4) (("rust-criterion" ,rust-criterion-0.5)
("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-gir-format-check" ,rust-gir-format-check-0.1)
("rust-tempfile" ,rust-tempfile-3) ("rust-tempfile" ,rust-tempfile-3)
("rust-trybuild2" ,rust-trybuild2-1)))) ("rust-trybuild2" ,rust-trybuild2-1))))