gnu: rust-defmt-0.3: Update to 0.3.6.

* gnu/packages/crates-io.scm (rust-defmt-0.3): Update to 0.3.6.
[arguments]: Don't skip the build.  Add cargo-test-flags.
[cargo-development-inputs]: Add rust-rustc-version-0.4, rust-trybuild-1.

Change-Id: I22da76a1fefc53f23053f59affb9d27c019d5644
This commit is contained in:
Efraim Flashner 2024-04-02 10:22:02 +03:00
parent f91fd8fca2
commit 567d4e74f5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -20130,20 +20130,23 @@ (define-public rust-defmac-0.1
(define-public rust-defmt-0.3 (define-public rust-defmt-0.3
(package (package
(name "rust-defmt") (name "rust-defmt")
(version "0.3.0") (version "0.3.6")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "defmt" version)) (uri (crate-uri "defmt" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "181l5wv6sihrjwjvk97wznmg2iaz3w1ljsx2dfzjssmhsbs5vyv2")))) (base32 "15a53435jpy9jj3g49mxp94g961zslggbin2nd9f2va20wlmaf9r"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:cargo-test-flags '("--release" "--features=unstable-test")
#:cargo-inputs #:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1) (("rust-bitflags" ,rust-bitflags-1)
("rust-defmt-macros" ,rust-defmt-macros-0.3)))) ("rust-defmt-macros" ,rust-defmt-macros-0.3))
#:cargo-development-inputs
(("rust-rustc-version" ,rust-rustc-version-0.4)
("rust-trybuild" ,rust-trybuild-1))))
(home-page "https://knurling.ferrous-systems.com/") (home-page "https://knurling.ferrous-systems.com/")
(synopsis "Logging framework for resource-constrained devices") (synopsis "Logging framework for resource-constrained devices")
(description (description