guix-commits
[Top][All Lists]
Advanced

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

133/311: gnu: Add rust-sval-serde-2.


From: guix-commits
Subject: 133/311: gnu: Add rust-sval-serde-2.
Date: Sat, 28 Oct 2023 16:38:34 -0400 (EDT)

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

commit 063b67f9f28c411b4dae175db0db4d6b2c891b8e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 10:09:51 2023 +0300

    gnu: Add rust-sval-serde-2.
    
    * gnu/packages/crates-io.scm (rust-sval-serde-2): New variable.
    
    Change-Id: I1e3dbc99bd2b39dffeda4f012c9739f71e84976a
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5761341366..8c2c7a3e87 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72429,6 +72429,29 @@ values without proliferating generics.")
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-sval-serde-2
+  (package
+    (name "rust-sval-serde")
+    (version "2.10.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sval-serde" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11h543cmg0qmprc7jn94crfxwv344wa04qf18hw7xdh5zz293wbz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-sval" ,rust-sval-2)
+        ("rust-sval-buffer" ,rust-sval-buffer-2)
+        ("rust-sval-fmt" ,rust-sval-fmt-2))))
+    (home-page "https://github.com/sval-rs/sval";)
+    (synopsis "Integration between serde::Serialize and sval::Value")
+    (description "Integration between serde::Serialize and sval::Value.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-sval-test-2
   (package
     (name "rust-sval-test")



reply via email to

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