guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/40: gnu: Add rust-serde-with-3.


From: guix-commits
Subject: 11/40: gnu: Add rust-serde-with-3.
Date: Sun, 22 Oct 2023 09:40:26 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f3fc593a7f1369ac9522e2e6ab07c5fca3fe1c13
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:02:06 2023 +0300

    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>
---
 gnu/packages/crates-io.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 902fc73542..e07d57b55c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]