Subject: [PATCH 11/32] gnu: Add rust-ciborium-0.2.

From: Arjan Adriaanse <[email-masked]>
Date: Sat, 4 Mar 2023 15:00:53 +0100

* gnu/packages/crates-io.scm (rust-ciborium-0.2): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 935a1b9da0..08424cbdf8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10306,6 +10306,34 @@ (define-public rust-ci-info-0.3
      "This package provides current CI environment information.")
     (license license:asl2.0)))
 
+(define-public rust-ciborium-0.2
+  (package
+    (name "rust-ciborium")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ciborium" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13vqkm88kaq8nvxhaj6qsl0gsc16rqsin014fx5902y6iib3ghdh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ciborium-io" ,rust-ciborium-io-0.2)
+        ("rust-ciborium-ll" ,rust-ciborium-ll-0.2)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-hex" ,rust-hex-0.4)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rstest" ,rust-rstest-0.11)
+        ("rust-serde-bytes" ,rust-serde-bytes-0.11))))
+    (home-page "https://github.com/enarx/ciborium")
+    (synopsis "Serde implementation of CBOR using ciborium-basic")
+    (description "This package provides a serde implementation of CBOR using
+ciborium-basic")
+    (license license:asl2.0)))
+
 (define-public rust-ciborium-io-0.2
   (package
     (name "rust-ciborium-io")
-- 
2.39.1