guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69257] [PATCH 062/228] gnu: Add rust-opentelemetry-0.21.


From: Herman Rimm
Subject: [bug#69257] [PATCH 062/228] gnu: Add rust-opentelemetry-0.21.
Date: Sun, 18 Feb 2024 22:03:00 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2743293e42..741ba8a5a0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44110,6 +44110,34 @@ (define-public rust-openssl-sys-extras-0.7
      "Extra FFI bindings to OpenSSL that require a C shim.")
     (license license:expat)))
 
+(define-public rust-opentelemetry-0.21
+  (package
+    (name "rust-opentelemetry")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opentelemetry" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12jfmyx8k9q2sjlx4wp76ddzaf94i7lnkliv1c9mj164bnd36chy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-futures-sink" ,rust-futures-sink-0.3)
+                       ("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-js-sys" ,rust-js-sys-0.3)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-urlencoding" ,rust-urlencoding-2))))
+    (home-page "https://github.com/open-telemetry/opentelemetry-rust";)
+    (synopsis "Metrics collection and distributed tracing framework")
+    (description
+     "This package provides a metrics collection and distributed tracing
+framework.")
+    (license license:asl2.0)))
+
 (define-public rust-opml-1
   (package
     (name "rust-opml")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]