Subject: [bug#68312] [PATCH 069/156] gnu: Add rust-rust-json5-0.4.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:52:46 +0100

* gnu/packages/crates-io.scm (rust-rust-json5-0.4): New variable.

Change-Id: Ie01015ca85fd69418bcde0cf84afa891e9886002
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3b1bbd34d3..dc9349c92d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35962,6 +35962,30 @@ (define-public rust-js-sys-0.3
 wasm-bindgen crate.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-json5-0.4
+  (package
+    (name "rust-json5")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "json5" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1h9hni897zmn3vcixfbwwkj2gkz27h7z9dah8bk1qv37mwhxpc4n"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-pest" ,rust-pest-2)
+                       ("rust-pest-derive" ,rust-pest-derive-2)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/callum-oakley/json5-rs")
+    (synopsis "A Rust JSON5 serializer and deserializer which speaks Serde.")
+    (description
+     "This package provides a Rust JSON5 serializer and deserializer which speaks
+Serde.")
+    (license license:isc)))
+
 (define-public rust-json-0.12
   (package
     (name "rust-json")
-- 
2.41.0