Subject: [bug#70147] [PATCH 36/42] gnu: Add rust-yoke-0.7.

From: Wilko Meyer <[email-masked]>
Date: Tue, 2 Apr 2024 18:22:53 +0200

* gnu/packages/crates-io.scm (rust-yoke-0.7): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb843a53ef..2ce76b79b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90697,6 +90697,32 @@ (define-public rust-yoke-derive-0.7
     (description "Custom derive for the yoke crate")
     (license license:unicode)))
 
+(define-public rust-yoke-0.7
+  (package
+    (name "rust-yoke")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "yoke" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1r07zy718h27qjhpk4427imp3wx5z2wf4wf6jivlczr89wp1prv5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-serde" ,rust-serde-1)
+                       ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)
+                       ("rust-yoke-derive" ,rust-yoke-derive-0.7)
+                       ("rust-zerofrom" ,rust-zerofrom-0.1))))
+    (home-page "https://github.com/unicode-org/icu4x")
+    (synopsis
+     "Abstraction allowing borrowed data to be carried along with the backing data it borrows from")
+    (description
+     "Abstraction allowing borrowed data to be carried along with the backing data it
+borrows from")
+    (license license:unicode)))
+
 (define-public rust-z-base-32-0.1
   (package
     (name "rust-z-base-32")
-- 
2.41.0