From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8ItuAS0Bh2YX8AAA62LTzQ:P1 (envelope-from ) for ; Thu, 04 Jul 2024 20:08:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8ItuAS0Bh2YX8AAA62LTzQ (envelope-from ) for ; Thu, 04 Jul 2024 22:08:13 +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=sqltK1U2; 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=1720123692; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=i4MA1sUuUUx0/vywcMErrKWs9WkkPw7O2HqzFxqXmrw=; b=IFlfJD1pLtHnJOTak5FjIth4kBenwCHeACeh4Sv+qL698mrJ4du24fob7ATMcmrJNJND4h GxvQ5Oc53Brxw643uXWWW5kSsOJPO/kb1jij/K5EPhGf34tQuWbCHgpnb9qMo2u7PVl1sa uOWr4lJmUcNmyVZAw3fQ3kR2zk6MZGBlZOsGNrhD88PQ/mMHFObC8zBHl1eoHQi2JEmJre szc8h2RXOEu5X5hGwFgf/RDFRBg5Ti0uvv88pEpeyY2jPBSep/Z6r22EZ+rJO+tJLowFVh 6I5mfjV+M/IHpLwl9Qquf3LzFKvx6sVLGghSOvtSAKOFGhK4krRyQJfcreHK7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=sqltK1U2; 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=1720123692; a=rsa-sha256; cv=none; b=gSHePZ5Hjps1E6vOOQovd9+yqQ3SCnxOJUXS131egfEOBRT6SWn4RsB3kfo6IX88TInnix /X/juFeBsCWA59Vku9umDq318Y5BmACpuPHtm15/sR2Q7jn7ZbEQznfSKEes26XMOYtOwq Ou22g9cMC1rzBOoN2VS4ZnhWF9hIv3uYjKD4Oe9old1xB8oltpppha3b2u83AzHEWtUL2E SeHYejmb0WXBk/iz6LxGR+5qJxfTN7K/xRAMDlaru+Nhrv+RfjLsXLC3W7qjNjA+AThHfb NDnQWOXZxdbU1D47ysHYgK9uo4OF/dyiQeav1yN4wY1xe80EZOaSEWeGARMGSQ== 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 E58C86BCEA for ; Thu, 4 Jul 2024 22:08:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPSkL-0007jY-IY; Thu, 04 Jul 2024 16:08:01 -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 1sPSkK-0007jL-8t for guix-patches@gnu.org; Thu, 04 Jul 2024 16:08:00 -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 1sPSkK-0002nn-0B for guix-patches@gnu.org; Thu, 04 Jul 2024 16:08:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPSkM-00074C-HK for guix-patches@gnu.org; Thu, 04 Jul 2024 16:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69074] [PATCH v3 08/14] gnu: Add python-archinfo. Resent-From: soeren@soeren-tempel.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Jul 2024 20:08:02 +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 Received: via spool by 69074-submit@debbugs.gnu.org id=B69074.172012362627014 (code B ref 69074); Thu, 04 Jul 2024 20:08:02 +0000 Received: (at 69074) by debbugs.gnu.org; 4 Jul 2024 20:07:06 +0000 Received: from localhost ([127.0.0.1]:43080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPSjQ-000716-Ma for submit@debbugs.gnu.org; Thu, 04 Jul 2024 16:07:05 -0400 Received: from magnesium.8pit.net ([45.76.88.171]:19989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPSjM-0006yi-JR; Thu, 04 Jul 2024 16:07:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=opensmtpd; bh=i4MA1sUu UUx0/vywcMErrKWs9WkkPw7O2HqzFxqXmrw=; h=references:in-reply-to:date: subject:to:from; d=soeren-tempel.net; b=sqltK1U2UzmEDMJz1T7LdBisOjY1j5 h9cErCTSrLv16rE19/bClDVNB/L3kCB/LZRokpldGBDab3VnSsk6dxH54YJ+9EfQHO2euw 4y//FNVW/RrcOCkEzUKj+JxsZcDJnjIVNfqUBGmeDntr1ooByRO3WN/B3OsvwdJeNqjocP M= Received: from localhost (dynamic-2a02-3102-49da-001b-e21d-4fb5-a2ea-d7fd.310.pool.telefonica.de [2a02:3102:49da:1b:e21d:4fb5:a2ea:d7fd]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id 7e20bdda (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Thu, 4 Jul 2024 22:06:50 +0200 (CEST) From: soeren@soeren-tempel.net Date: Thu, 4 Jul 2024 22:05:17 +0200 Message-ID: <26aef41376561a9f8fe58a200089e7f804333944.1720123523.git.soeren@soeren-tempel.net> X-Mailer: git-send-email 2.45.2 In-Reply-To: <885683d751fc62e227a6d4c6eeea928fed4387c9.1720123523.git.soeren@soeren-tempel.net> References: <885683d751fc62e227a6d4c6eeea928fed4387c9.1720123523.git.soeren@soeren-tempel.net> 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-Spam-Score: 3.61 X-Migadu-Queue-Id: E58C86BCEA X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 3.61 X-TUID: unIMfmvDWLNF 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 602b75984b..994abb0fd3 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -66,6 +66,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) @@ -2724,6 +2725,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"))