me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-serde-with-3.

* gnu/packages/crates-io.scm (rust-serde-with-3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Aleksandr Vityazev 2023-10-07 03:02:06 +03:00 committed by Efraim Flashner
parent 55df233474
commit f3fc593a7f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 45 additions and 0 deletions

View File

@ -63297,6 +63297,51 @@ the application/x-www-form-urlencoded format.")
for later processing.")
(license license:expat)))
(define-public rust-serde-with-3
(package
(name "rust-serde-with")
(version "3.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "serde-with" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04w5v0siychbb7l3anx57crvv9m3w866ckwjhkq5nf1wdsmdh0lz"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; could not find `Deserializer` in `serde_test`
#:cargo-inputs
(("rust-base64" ,rust-base64-0.21)
("rust-chrono" ,rust-chrono-0.4)
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-hex" ,rust-hex-0.4)
("rust-indexmap" ,rust-indexmap-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-with-macros" ,rust-serde-with-macros-3)
("rust-time" ,rust-time-0.3))
#:cargo-development-inputs
(("rust-expect-test" ,rust-expect-test-1)
("rust-fnv" ,rust-fnv-1)
("rust-glob" ,rust-glob-0.3)
("rust-mime" ,rust-mime-0.3)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-regex" ,rust-regex-1)
("rust-rmp-serde" ,rust-rmp-serde-1)
("rust-ron" ,rust-ron-0.8)
("rust-rustversion" ,rust-rustversion-1)
("rust-serde-xml-rs" ,rust-serde-xml-rs-0.6)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-test" ,rust-serde-test-1)
("rust-serde-yaml" ,rust-serde-yaml-0.9)
("rust-version-sync" ,rust-version-sync-0.9))))
(home-page "https://github.com/jonasbb/serde_with/")
(synopsis "Custom de/serialization functions for Rust's serde")
(description "This package provides custom de/serialization functions for
Rust's serde.")
(license (list license:expat license:asl2.0))))
(define-public rust-serde-with-macros-3
(package
(name "rust-serde-with-macros")