unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50757] [PATCH] gnu: Add babeltrace.
@ 2021-09-23 12:41 Olivier Dion via Guix-patches via
  2021-09-23 19:30 ` Sarah Morgensen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Olivier Dion via Guix-patches via @ 2021-09-23 12:41 UTC (permalink / raw)
  To: 50757; +Cc: Olivier Dion

* gnu/packages/linux.scm (babeltrace): New variable.

Signed-off-by: Olivier Dion <olivier.dion@polymtl.ca>
---
 gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9bb90e599e..dcfea9cc6c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -131,6 +131,7 @@
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages slang)
+  #:use-module (gnu packages sphinx)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tls)
@@ -8051,6 +8052,40 @@ enable and disable specific instrumentation points, and writes event records
 to ring buffers shared with a consumer daemon.")
     (license license:lgpl2.1+)))
 
+(define-public babeltrace
+  (package
+    (name "babeltrace")
+    (version "2.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://www.efficios.com/files/babeltrace/babeltrace2-"
+                                  version ".tar.bz2"))
+              (sha256
+               (base32 "1804pyq7fz6rkcz4r1abkkn0pfnss13m6fd8if32s42l4lajadm5"))))
+
+    (build-system gnu-build-system)
+
+    (propagated-inputs
+     `(("elfutils" ,elfutils)))
+
+    (native-inputs
+     `(("asciidoc" ,asciidoc)
+       ("bison" ,bison)
+       ("flex" ,flex)
+       ("glib" ,glib)
+       ("pkg-config" ,pkg-config)
+       ("python" ,python-3)
+       ("python-sphinx" ,python-sphinx)
+       ("xmltoman" ,xmltoman)))
+
+    (home-page "https://babeltrace.org/")
+    (synopsis "Babeltrace /ˈbæbəltreɪs/ is an open-source trace manipulation toolkit.")
+    (description "Babeltrace 2 is the reference parser implementation of the
+Common Trace Format (CTF), a versatile trace format produced by various
+tracers and tools such as LTTng and barectf. The Babeltrace 2 library and its
+Python bindings can read and write CTF traces.")
+    (license license:expat)))
+
 (define-public kexec-tools
   (package
     (name "kexec-tools")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-22  2:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 12:41 [bug#50757] [PATCH] gnu: Add babeltrace Olivier Dion via Guix-patches via
2021-09-23 19:30 ` Sarah Morgensen
2021-10-17 15:19 ` Olivier Dion via Guix-patches via
2021-11-21 18:31 ` [bug#50757] [PATCH v2] " Olivier Dion via Guix-patches via
2021-11-22  2:31   ` bug#50757: [PATCH] " Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).