guix-commits
[Top][All Lists]
Advanced

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

199/330: gnu: Add rust-opentelemetry-0.21.


From: guix-commits
Subject: 199/330: gnu: Add rust-opentelemetry-0.21.
Date: Mon, 18 Mar 2024 07:16:09 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit ce08fde63e87f77c0e27a459f114d8a372be1ac3
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:03:00 2024 +0100

    gnu: Add rust-opentelemetry-0.21.
    
    * gnu/packages/crates-io.scm (rust-opentelemetry-0.21): Add variable.
    
    Change-Id: I0a95270da9a585a74718dd7e6f8e4691ab022389
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 454e46f5e3..6dec04d6e5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45755,6 +45755,34 @@ system for OpenSSL.")
      "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")



reply via email to

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