guix-commits
[Top][All Lists]
Advanced

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

54/68: gnu: Add rust-serde-with-macros-1.


From: guix-commits
Subject: 54/68: gnu: Add rust-serde-with-macros-1.
Date: Wed, 20 Mar 2024 11:24:38 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 4e7cb0df5644fe6dd7a9efad390a9e92d702239f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Mar 19 16:43:03 2024 +0200

    gnu: Add rust-serde-with-macros-1.
    
    * gnu/packages/crates-io.scm (rust-serde-with-macros-1): New variable.
    
    Change-Id: Iaec9600492b5f840041683510f34ffdcb00263f4
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 84ad02283c..7d90ab128a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65715,6 +65715,31 @@ Rust's serde.")
 @code{serde_with}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-serde-with-macros-1
+  (package
+    (inherit rust-serde-with-macros-3)
+    (name "rust-serde-with-macros")
+    (version "1.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde_with_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10l0rsy0k61nvpn1brcfvzp8yfnvsqdgh6zdwp03qf85dzndd0p1"))))
+    (arguments
+     `(#:cargo-inputs (("rust-darling" ,rust-darling-0.13)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("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))))))
+
 (define-public rust-serde-xml-rs-0.6
   (package
     (name "rust-serde-xml-rs")



reply via email to

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