From c29759a91cfe8f410958472a3e1fc967843316d3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 10:10:30 +0300 Subject: gnu: Add rust-sval-json-2. * gnu/packages/crates-io.scm (rust-sval-json-2): New variable. Change-Id: Ia47a06399d9fb39ed53933686ddbb9ab9e58bf7a --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 998864f565..8c310b9e6c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -72444,6 +72444,28 @@ values without proliferating generics.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-sval-json-2 + (package + (name "rust-sval-json") + (version "2.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sval-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wp0yyaldqr6kgqsblav86j8fxjp2jbmrsbsiw0yxrhambc3pq3n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-sval" ,rust-sval-2)))) + (home-page "https://github.com/sval-rs/sval") + (synopsis "JSON support for sval") + (description "JSON support for sval.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-sval-ref-2 (package (name "rust-sval-ref") -- cgit 1.4.1