guix-commits
[Top][All Lists]
Advanced

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

27/68: gnu: Add rust-json5-0.4.


From: guix-commits
Subject: 27/68: gnu: Add rust-json5-0.4.
Date: Wed, 20 Mar 2024 11:24:30 -0400 (EDT)

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

commit 7648f96f57a9b58c6426e3e1464ba11dd1e93134
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:08 2024 +0100

    gnu: Add rust-json5-0.4.
    
    * gnu/packages/crates-web.scm (rust-json5-0.4): Add variable.
    
    Change-Id: I343686d8d1a484f1f351fe99c036e3bab06380c9
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 5507a8ac30..fa3a08fb95 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4074,6 +4074,32 @@ that integrates with Rust idioms.")
         ("rust-test-case" ,rust-test-case-1)
         ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2))))))
 
+(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
+     `(#:cargo-inputs (("rust-pest" ,rust-pest-2)
+                       ("rust-pest-derive" ,rust-pest-derive-2)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-matches" ,rust-matches-0.1)
+                                   ("rust-serde-derive" ,rust-serde-derive-1)
+                                   ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/callum-oakley/json5-rs";)
+    (synopsis "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-jsonwebtoken-7
   (package
     (name "rust-jsonwebtoken")



reply via email to

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