Subject: [PATCH 22/81] gnu: Add rust-opentelemetry-0.18.

From: Herman Rimm <[email-masked]>
Date: Mon, 20 May 2024 10:58:27 +0200

* gnu/packages/crates-io.scm (rust-opentelemetry-0.18): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c1ec789ce..a932725f11 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50905,6 +50905,23 @@ (define-public rust-opentelemetry-0.21
 framework.")
     (license license:asl2.0)))
 
+(define-public rust-opentelemetry-0.18
+  (package
+    (inherit rust-opentelemetry-0.21)
+    (name "rust-opentelemetry")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opentelemetry" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "0vh8xzzigx1n95pv3vxd09lxan40626hwjry6q56q44a53bw7mk9"))))
+    (arguments
+     (list #:cargo-inputs (list rust-opentelemetry-api-0.18
+                                rust-opentelemetry-sdk-0.18)))))
+
 (define-public rust-opentelemetry-api-0.18
   (package
     (name "rust-opentelemetry-api")
-- 
2.41.0