Subject: [PATCH rust-team v2 042/117] gnu: Add rust-yap-0.11.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:55:08 +0200

* gnu/packages/crates-io.scm (rust-yap-0.11): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9270b74b11..d0953744bb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90908,6 +90908,24 @@ (define-public rust-yap-0.12
 and slices.")
     (license license:expat)))
 
+(define-public rust-yap-0.11
+  (package
+    (inherit rust-yap-0.12)
+    (name "rust-yap")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "yap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kr49a96x7p1fjpj7vdvpk00q1q7clfyp36p12x9wqn49chj8igz"))
+       (modules '((guix build utils)))
+       (snippet '(begin (substitute* "Cargo.toml.orig"
+                          (("logos = \"0.12.0\"")
+                           "logos = \"0.13\""))
+                        (copy-file "Cargo.toml.orig" "Cargo.toml")))))))
+
 (define-public rust-yasna-0.5
   (package
     (name "rust-yasna")
-- 
2.41.0