diff options
author | Aleksandr Vityazev <avityazew@gmail.com> | 2023-10-07 03:02:03 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 13:02:44 +0300 |
commit | 0c83d17d891aeeff8d908422edefa74cb2c1125a (patch) | |
tree | 1bf3734fec9616eef1c8eeed36542c068e8b7fca /gnu/packages/crates-io.scm | |
parent | 832f8e12f9353a0f270c58cdbf4b77fedbd56b67 (diff) |
gnu: Add rust-serde-with-macros-3.
* gnu/packages/crates-io.scm (rust-serde-with-macros-3): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e6183672e6..cf1e050e69 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -63303,6 +63303,42 @@ the application/x-www-form-urlencoded format.") for later processing.") (license license:expat))) +(define-public rust-serde-with-macros-3 + (package + (name "rust-serde-with-macros") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-with-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w5hp31ji9vc5x00qzsn6yxfy16573fn8ppf4bkjrc9gjg9xbizd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=test_serde_with_dependency") + #:cargo-inputs + (("rust-darling" ,rust-darling-0.20) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-expect-test" ,rust-expect-test-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://github.com/jonasbb/serde_with/") + (synopsis "Proc-macro library for serde_with") + (description "This package provides proc-macro library for +@code{serde_with}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-xml-rs-0.5 (package (name "rust-serde-xml-rs") |