guix-commits
[Top][All Lists]
Advanced

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

34/63: gnu: Add rust-tracing-chrome-0.7.


From: guix-commits
Subject: 34/63: gnu: Add rust-tracing-chrome-0.7.
Date: Thu, 8 Feb 2024 14:09:38 -0500 (EST)

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

commit 1bf06b34a49622b7f926b57a3250e47f8374326e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 8 10:28:02 2024 +0200

    gnu: Add rust-tracing-chrome-0.7.
    
    * gnu/packages/crates-io.scm (rust-tracing-chrome-0.7): New variable.
    
    Change-Id: I16f0683fe5c8cab666c7e37eed163e6a2f40ef0f
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1ad4afdb6b..099bb8b780 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70956,6 +70956,32 @@ programs to collect structured, event-based diagnostic 
information.")
 automatically instrumenting functions.")
     (license license:expat)))
 
+(define-public rust-tracing-chrome-0.7
+  (package
+    (name "rust-tracing-chrome")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tracing-chrome" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06pl66wzskcb0wkl2z99vw500ajlmmqv06dzpckzazvz8kakqss9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-tracing-core" ,rust-tracing-core-0.1)
+                       ("rust-tracing-subscriber" 
,rust-tracing-subscriber-0.3))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)
+                                   ("rust-rayon" ,rust-rayon-1)
+                                   ("rust-tracing" ,rust-tracing-0.1))))
+    (home-page "https://github.com/thoren-d/tracing-chrome";)
+    (synopsis "Layer for tracing-subscriber that outputs Chrome-style traces")
+    (description
+     "This package provides a Layer for tracing-subscriber that outputs
+Chrome-style traces.")
+    (license license:expat)))
+
 (define-public rust-tracing-core-0.1
   (package
     (name "rust-tracing-core")



reply via email to

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