* gnu/packages/crates-io.scm (rust-serde-with-3): Upgrade to v3.12.0.
---
gnu/packages/crates-io.scm | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
@@ -73186,32 +73186,27 @@ (define-public rust-serde-wasm-bindgen-0.3
(define-public rust-serde-with-3
(package
(name "rust-serde-with")
- (version "3.8.1")
+ (version "3.12.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde_with" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "082a7j42h79rs2jzafw67lay0497hnip56fdxfjxaj81mg987m0a"))
- (modules '((guix build utils)))
- (snippet
- '(begin (substitute* "Cargo.toml"
- (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
- (string-append "\"^" version)))))))
+ (base32 "1ai9c3cbdgrsvmlc4qpg9z73y80yplk3k7zp45wp97xnzkrggdnn"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t ; Not all dependencies packaged
- #:cargo-test-flags
- '("--release" "--"
- ;; Test fails in release tarball.
- "--skip=test_serde_with_macros_dependency")
+ `(#:cargo-test-flags '("--"
+ ;; Missing test files and broken docs test
+ "--skip=test_serde_with_macros_dependency"
+ "--skip=test_docs_rs_url_point_to_current_version")
#:cargo-inputs
(("rust-base64" ,rust-base64-0.22)
("rust-chrono" ,rust-chrono-0.4)
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-document-features" ,rust-document-features-0.2)
("rust-hashbrown" ,rust-hashbrown-0.14)
+ ("rust-hashbrown" ,rust-hashbrown-0.15)
("rust-hex" ,rust-hex-0.4)
("rust-indexmap" ,rust-indexmap-1)
("rust-indexmap" ,rust-indexmap-2)
@@ -73225,7 +73220,7 @@ (define-public rust-serde-with-3
(("rust-expect-test" ,rust-expect-test-1)
("rust-fnv" ,rust-fnv-1)
("rust-glob" ,rust-glob-0.3)
- ;("rust-jsonschema" ,rust-jsonschema-0.17)
+ ("rust-jsonschema" ,rust-jsonschema-0.26)
("rust-mime" ,rust-mime-0.3)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-regex" ,rust-regex-1)
@@ -73257,7 +73252,6 @@ (define-public rust-serde-with-2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gmgl2raxxnpvjgcvkrimgv55kbjywi5xbffc9rvb9s7q7973zq7"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; could not find `Deserializer` in `serde_test`
#:cargo-inputs (("rust-base64" ,rust-base64-0.13)
@@ -73287,7 +73281,7 @@ (define-public rust-serde-with-2
(define-public rust-serde-with-1
(package
- (inherit rust-serde-with-3)
+ (inherit rust-serde-with-2)
(name "rust-serde-with")
(version "1.14.0")
(source