unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Olivier Dion via Guix-patches via <guix-patches@gnu.org>
To: 61540@debbugs.gnu.org
Cc: Olivier Dion <odion@efficios.com>
Subject: [bug#61540] [PATCH] gnu: Add barecft.
Date: Wed, 15 Feb 2023 15:59:58 -0500	[thread overview]
Message-ID: <20230215205958.15719-1-olivier.dion@polymtl.ca> (raw)

From: Olivier Dion <odion@efficios.com>

* gnu/packages/instrumentation.scm (barecft): New variable.
---
 gnu/packages/instrumentation.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index 133d684567..a54b7920f1 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages instrumentation)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages swig)
@@ -53,6 +54,7 @@ (define-module (gnu packages instrumentation)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system linux-module)
+  #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -120,6 +122,33 @@ (define-public babeltrace
 bindings, and the command-line tool @command{babeltrace2}.")
     (license license:expat)))
 
+(define-public barecft
+  (package
+    (name "barectf")
+    (version "3.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "barectf" version))
+       (sha256
+        (base32 "0zhc9d4qnnl4fjj6354qb4bng4ykywn8x3l3acpv6sx439q6ylwd"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list
+      gcc-toolchain
+      gnu-make
+      python-jinja2
+      python-jsonschema
+      python-pyyaml-5
+      python-termcolor
+      python-tox))
+    (home-page "https://barectf.org")
+    (synopsis "CTF tracer generator")
+    (description "@command{barectf} is a generator of tracer which produces
+CTF data streams.  The generated C source code has no other dependencies than
+a few C standard library headers.")
+    (license license:expat)))
+
 (define-public dyninst
   (package
     (name "dyninst")
-- 
2.39.1





             reply	other threads:[~2023-02-15 21:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 20:59 Olivier Dion via Guix-patches via [this message]
     [not found] ` <handler.61540.B.167649482920188.ack@debbugs.gnu.org>
2023-02-23 14:43   ` [bug#61540] Acknowledgement ([PATCH] gnu: Add barecft.) Olivier Dion
2023-02-27 22:42 ` bug#61540: [PATCH] gnu: Add barecft Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230215205958.15719-1-olivier.dion@polymtl.ca \
    --to=guix-patches@gnu.org \
    --cc=61540@debbugs.gnu.org \
    --cc=odion@efficios.com \
    --cc=olivier.dion@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).