guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 16194aaede4784da098dd29344bea92cae6a3470
Author: Olivier Dion <[email protected]>
AuthorDate: Mon May 5 08:42:04 2025 -0400

    gnu: Add yactfr.
    
    * gnu/packages/instrumentation.scm (yactfr): New variable.
    
    Change-Id: I48203e19513cd52ebd97faa307ad524b8a5c5dcd
    Signed-off-by: Ludovic Courtès <[email protected]>
    Modified-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/instrumentation.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index 09314519a9..31120026c8 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -655,3 +655,33 @@ kind of commands and filters to help analysis of the 
program execution and
 performance.  It provides the command @command{uftrace}.  By default, it is
 bundled with python-3 and luajit that you can delete in a package variant.")
     (license license:gpl2)))
+
+(define-public yactfr
+  (let ((commit "796eaff018e2432ecc8f1f103101afafc9f38518")
+        (revision "0"))
+    (package
+      (name "yactfr")
+      (version (git-version "1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/eepp/yactfr";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1p4nqsq689hr2srdvg59v9yfig2aaq9psdy6fhwnya0vszssyvn5"))))
+      (build-system cmake-build-system)
+      (arguments `(#:test-target "check"))
+      (native-inputs (list boost python-pytest))
+      (home-page "https://github.com/eepp/yactfr";)
+      (synopsis "CTF reading library offering a C++14 API")
+      (description "While the @acronym{CTF, Common Trace Format} reading
+libraries focus on decoding and providing completed and ordered event record
+objects, the yactfr API offers a lower level of CTF processing.  Allowing
+iteration over individual element sequences to obtain elements: beginning/end
+of packet, beginning/end of event record, beggining/end of structure,
+individual data stream scalar values like fixed-length integers, fixed-length
+floating point numbers, and null-terminated strings, specific clock value
+update, known data stream ID, and the rest.")
+      (license license:expat))))

Reply via email to