From a43b6a189a7b6b6ff2b2ae5115c85da8c869613a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:30:25 +0300 Subject: [PATCH] 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 24091a4795..800d12eaf1 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")