From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8EdxM55OkGZYPwAAe85BDQ:P1 (envelope-from ) for ; Thu, 11 Jul 2024 21:29:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8EdxM55OkGZYPwAAe85BDQ (envelope-from ) for ; Thu, 11 Jul 2024 23:29:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=fP3jlATN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=soeren-tempel.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720733342; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ignGIqBPziIwyZHPgQOz2QYiz1PBnll1V5Mjs2ZnclA=; b=W+4RJ8Lh0DUGDGqCJehpDqGmxivEW1EkVjlB4M6RYVMUMN3MyqCp0qDEDk/n8qZE7EofF/ 4wciPPJ3cg9/PiRD62cfjz5QiU8/P3dnrW3RIcm1IUJpGZF7Q65gF9tXmHxBHF0EAd7uG4 F4tH9nG664k1ccOIY6SvusX6EFytDF1PxJAGvN2ty/Zxy6nE8qQ+idXTEZRxEFHHBjVvlF bhyfKu1SdgbZaszdhkl7wjq8CFr0r6z3m7svS7ueJlkZ5hO6lJp1Ig9LIYQi+LMweskyxX 1LUPC6xFZTxQh7CIvvvSwPVsxBfSuHV25IEq9bNVEy1DlKzuhRrXI2FmGLnPCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=fP3jlATN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=soeren-tempel.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720733342; a=rsa-sha256; cv=none; b=MTJn63BBBpr7sBXOJBPkEH6rzThIe62QQ5GYFuVchvYyDjNF55f1W6mWKSGfExZ9ICTCXl tgvicJ+A9j/4xCCjMHCYNSIMSaMa84HIlEBe1ql0l/fykvIMKNa9Ae6FTkzmyP63zmnWuk 5Bizo4tMYiezusMrZ9YQ+kmomAe0CtOyQRe4wNWX6dQqg2A6eTDuAMA4zYZ9BLuictZbar KFyuYOl9Ln5euqRCWHuy+IaH/QIJI0QWlnie6hCyBkM2pilb9fMZwCiFTOJ7lisIbIDEaW BpBCUAUhpYIkwtQCyC3XxONQT+wHi6lhk5Hu+pCXJN6nNsxvvOuCtzOjaxdsOQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BDC5539BB6 for ; Thu, 11 Jul 2024 23:29:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sS1Kh-00073E-KR; Thu, 11 Jul 2024 17:28:07 -0400 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 1sS1Ke-00072j-M6 for guix-patches@gnu.org; Thu, 11 Jul 2024 17:28:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sS1Ke-0003Zj-Dq for guix-patches@gnu.org; Thu, 11 Jul 2024 17:28:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sS1Ke-00040F-8D for guix-patches@gnu.org; Thu, 11 Jul 2024 17:28:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69074] [PATCH 07/11] gnu: Add python-archinfo. Resent-From: soeren@soeren-tempel.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jul 2024 21:28:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69074@debbugs.gnu.org Cc: jgart@dismail.de Received: via spool by 69074-submit@debbugs.gnu.org id=B69074.172073327515300 (code B ref 69074); Thu, 11 Jul 2024 21:28:04 +0000 Received: (at 69074) by debbugs.gnu.org; 11 Jul 2024 21:27:55 +0000 Received: from localhost ([127.0.0.1]:52713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sS1KU-0003yb-HJ for submit@debbugs.gnu.org; Thu, 11 Jul 2024 17:27:54 -0400 Received: from magnesium.8pit.net ([45.76.88.171]:34222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sS1KJ-0003xJ-Pa; Thu, 11 Jul 2024 17:27:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=opensmtpd; bh=ignGIqBP ziIwyZHPgQOz2QYiz1PBnll1V5Mjs2ZnclA=; h=references:in-reply-to:date: subject:cc:to:from; d=soeren-tempel.net; b=fP3jlATNbwxVxh7btcMcAQCKZU/ l69qmxN1ftyHSCU7yfuwrrM3Ye+SH+HTWXIRxlrFuNg/p58sAQnPKV0Ba+tNiio4j09qeY 5IoegWNTJtDuALssQGtT8sMHJvwELiz3VVYWSoFSjK8Pm7vlir8DzKpNEznJXvWxcbXHNd Jvgk= Received: from localhost (dynamic-2a02-3102-49da-001b-5547-c145-a90a-e426.310.pool.telefonica.de [2a02:3102:49da:1b:5547:c145:a90a:e426]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id 3aa983f8 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Thu, 11 Jul 2024 23:27:38 +0200 (CEST) From: soeren@soeren-tempel.net Date: Thu, 11 Jul 2024 23:27:18 +0200 Message-ID: <9f8ca51725fa4cec56c5b170d038e111b9376a81.1720733241.git.soeren@soeren-tempel.net> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: BDC5539BB6 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.30 X-Spam-Score: -4.30 X-TUID: /3pVdJjqD0um From: Sören Tempel * gnu/packages/emulators.scm (python-archinfo): New variable. --- gnu/packages/emulators.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 486610f1f0..f2b93666b1 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -67,6 +67,7 @@ (define-module (gnu packages emulators) #:use-module (gnu packages cross-base) #:use-module (gnu packages curl) #:use-module (gnu packages digest) + #:use-module (gnu packages engineering) #:use-module (gnu packages elf) #:use-module (gnu packages flex) #:use-module (gnu packages fltk) @@ -2644,6 +2645,33 @@ (define-public python-keystone-engine assembly for these architectures.") (license license:gpl2))) +(define-public python-archinfo + (package + (name "python-archinfo") + ;; Must be the same version as python-angr. + (version "9.2.46") + (source + (origin + (method url-fetch) + (uri (pypi-uri "archinfo" version)) + (sha256 + (base32 "037xfq3wcf8ngayxz9623l4646m780v2102mfbygpzbkkjha1966")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-capstone python-keystone-engine)) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "tests" + (invoke "python" "-m" "unittest")))))))) + (home-page "https://github.com/angr/archinfo") + (synopsis "Extract architecture-specific information from binaries") + (description + "Collection of classes that contain architecture-specific information +information. Useful for cross-architecture tools (such as @code{python-pyvex}).") + (license license:bsd-2))) + (define-public emu8051 (let ((commit "5dc681275151c4a5d7b85ec9ff4ceb1b25abd5a8") (revision "1"))