Subject: [bug#71076] [PATCH 26/81] gnu: Add rust-opentelemetry-jaeger-0.17.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bdd1fd2983..29529963f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51009,6 +51009,56 @@ (define-public rust-opentelemetry-jaeger-0.20
 @code{OpenTelemetry}.")
     (license license:asl2.0)))
 
+(define-public rust-opentelemetry-jaeger-0.17
+  (package
+    (inherit rust-opentelemetry-jaeger-0.20)
+    (name "rust-opentelemetry-jaeger")
+    (version "0.17.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opentelemetry-jaeger" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "0yigfk77znmdammxdq6r15pb51pcynsc6k8yjdw8ax3874kmsy0y"))))
+    (arguments
+     (list
+      ;; error[E0433]: failed to resolve:
+      ;; could not find `testing` in `opentelemetry`
+      #:tests? #f
+      #:cargo-inputs (list rust-async-std-1
+                           rust-async-trait-0.1
+                           rust-base64-0.13
+                           rust-futures-0.3
+                           rust-futures-executor-0.3
+                           rust-futures-util-0.3
+                           rust-headers-0.3
+                           rust-http-0.2
+                           rust-hyper-0.14
+                           rust-hyper-tls-0.5
+                           rust-isahc-1
+                           rust-js-sys-0.3
+                           rust-once-cell-1
+                           rust-opentelemetry-0.18
+                           rust-opentelemetry-http-0.7
+                           rust-opentelemetry-semantic-conventions-0.10
+                           rust-pin-project-lite-0.2
+                           rust-prost-0.9
+                           rust-prost-types-0.9
+                           rust-reqwest-0.11
+                           rust-surf-2
+                           rust-thiserror-1
+                           rust-thrift-0.16
+                           rust-tokio-1
+                           rust-tonic-0.6
+                           rust-wasm-bindgen-0.2
+                           rust-wasm-bindgen-futures-0.4
+                           rust-web-sys-0.3)
+      #:cargo-development-inputs (list rust-bytes-1
+                                       rust-futures-executor-0.3
+                                       rust-tokio-1)))))
+
 (define-public rust-opentelemetry-otlp-0.14
   (package
     (name "rust-opentelemetry-otlp")
-- 
2.41.0