From patchwork Wed Feb 15 20:59:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Dion X-Patchwork-Id: 46959 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C013616888; Wed, 15 Feb 2023 21:01:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 568D61687E for ; Wed, 15 Feb 2023 21:01:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSOtk-00052W-TF; Wed, 15 Feb 2023 16:01:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSOtj-0004ps-Aw for guix-patches@gnu.org; Wed, 15 Feb 2023 16:01:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSOtj-0001A0-10 for guix-patches@gnu.org; Wed, 15 Feb 2023 16:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSOti-0005GU-AV for guix-patches@gnu.org; Wed, 15 Feb 2023 16:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61540] [PATCH] gnu: Add barecft. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61540 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61540@debbugs.gnu.org Cc: Olivier Dion X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167649482920188 (code B ref -1); Wed, 15 Feb 2023 21:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2023 21:00:29 +0000 Received: from localhost ([127.0.0.1]:34148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSOtA-0005FX-IB for submit@debbugs.gnu.org; Wed, 15 Feb 2023 16:00:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:46314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSOt4-0005FI-Qo for submit@debbugs.gnu.org; Wed, 15 Feb 2023 16:00:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSOt4-0002e8-Hz for guix-patches@gnu.org; Wed, 15 Feb 2023 16:00:22 -0500 Received: from smtp.polymtl.ca ([132.207.4.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSOt2-0000p3-9k for guix-patches@gnu.org; Wed, 15 Feb 2023 16:00:22 -0500 Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 31FL036r028230 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 15 Feb 2023 16:00:10 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 31FL036r028230 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1676494811; bh=8mta6ijSJ5f7QGFUS5VM+JZwkNb0RREceHyr4zo95f4=; h=From:To:Cc:Subject:Date:From; b=CFO3z7cCxlftDq1yfxOIUOcXwFKjFzErVCGKkFQXql0BrjDvCrO6X1AGDGbdYxCtc KOastz1dYyWvnZ390ikYttpfwHbZr2erckhtk6zOxnUoqpWW8bn+/j/w4w0BtkrgtV 1s3l+va2R46V/m/TN0OGuc+ri2LIfXkqdlXtkhME= Date: Wed, 15 Feb 2023 15:59:58 -0500 Message-Id: <20230215205958.15719-1-olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Wed, 15 Feb 2023 21:00:03 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches X-Patchwork-Original-From: Olivier Dion via Guix-patches via From: Olivier Dion Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Olivier Dion * 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")