Subject: [PATCH rust-team v2 009/117] gnu: Add rust-opentelemetry-jaeger-0.20.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0904363ffb..98e1931205 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48952,6 +48952,62 @@ (define-public rust-opentelemetry-0.21
 framework.")
     (license license:asl2.0)))
 
+(define-public rust-opentelemetry-jaeger-0.20
+  (package
+    (name "rust-opentelemetry-jaeger")
+    (version "0.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opentelemetry-jaeger" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18gq28byn3x1lfqmji2x29dhk4vkr3yk4sfnpc6hxr48smpwc5z6"))))
+    (build-system cargo-build-system)
+    (arguments
+      ;; error[E0433]: failed to resolve:
+      ;; could not find `testing` in `opentelemetry`
+     `(#:tests? #f
+       #:cargo-inputs
+       (("rust-async-std" ,rust-async-std-1)
+        ("rust-async-trait" ,rust-async-trait-0.1)
+        ("rust-base64" ,rust-base64-0.21)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-futures-executor" ,rust-futures-executor-0.3)
+        ("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-headers" ,rust-headers-0.3)
+        ("rust-http" ,rust-http-0.2)
+        ("rust-hyper" ,rust-hyper-0.14)
+        ("rust-hyper-tls" ,rust-hyper-tls-0.5)
+        ("rust-isahc" ,rust-isahc-1)
+        ("rust-js-sys" ,rust-js-sys-0.3)
+        ("rust-opentelemetry" ,rust-opentelemetry-0.21)
+        ("rust-opentelemetry-http" ,rust-opentelemetry-http-0.10)
+        ("rust-opentelemetry-semantic-conventions"
+         ,rust-opentelemetry-semantic-conventions-0.13)
+        ("rust-opentelemetry-sdk" ,rust-opentelemetry-sdk-0.21)
+        ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+        ("rust-prost" ,rust-prost-0.11)
+        ("rust-prost-types" ,rust-prost-types-0.11)
+        ("rust-reqwest" ,rust-reqwest-0.11)
+        ("rust-surf" ,rust-surf-2)
+        ("rust-thrift" ,rust-thrift-0.17)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tonic" ,rust-tonic-0.9)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+        ("rust-web-sys" ,rust-web-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-bytes" ,rust-bytes-1)
+        ("rust-futures-executor" ,rust-futures-executor-0.3)
+        ("rust-tokio" ,rust-tokio-1))))
+    (home-page (string-append "https://github.com/open-telemetry/opentele"
+                              "metry-rust/tree/main/opentelemetry-jaeger"))
+    (synopsis "Jaeger exporter for OpenTelemetry")
+    (description "This package provides a Jaeger exporter for
+@code{OpenTelemetry}.")
+    (license license:asl2.0)))
+
 (define-public rust-opentelemetry-sdk-0.21
   (package
     (name "rust-opentelemetry-sdk")
-- 
2.41.0