guix-commits
[Top][All Lists]
Advanced

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

61/379: gnu: Add rust-serde-json-core-0.5.


From: guix-commits
Subject: 61/379: gnu: Add rust-serde-json-core-0.5.
Date: Thu, 29 Jun 2023 12:32:26 -0400 (EDT)

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

commit b5e8e92d66dfe9ff1511ccbd1a96e35ec72a23ee
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:30:25 2023 +0300

    gnu: Add rust-serde-json-core-0.5.
    
    * gnu/packages/crates-io.scm (rust-serde-json-core-0.5): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92c9204bdc..2aeb31564d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56244,6 +56244,31 @@ data.  This crate provides a wrapper that works with 
any existing Serde
        #:cargo-development-inputs
        (("rust-serde-derive" ,rust-serde-derive-0.9))))))
 
+(define-public rust-serde-json-core-0.5
+  (package
+    (name "rust-serde-json-core")
+    (version "0.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "serde-json-core" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1w2g6ylmxbj9fbz4f86i0nnyk2mbv7qbksx0mbimxx17wj7krv2q"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-heapless" ,rust-heapless-0.7)
+        ("rust-ryu" ,rust-ryu-1)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-serde-derive" ,rust-serde-derive-1))))
+    (home-page "https://github.com/rust-embedded-community/serde-json-core";)
+    (synopsis "serde-json for no_std programs")
+    (description "This package provides @code{serde-json} for @code{no_std}
+programs in rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-serde-path-to-error-0.1
   (package
     (name "rust-serde-path-to-error")



reply via email to

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