From 34eac90cf8c48b669938d26de10cc617aac4e9da Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 10:09:51 +0300 Subject: [PATCH] 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 22bb32dd1e..384af60e6d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -72444,6 +72444,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")