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 ms8.migadu.com with LMTPS id aJYyHx8U7mU6FwAAe85BDQ:P1 (envelope-from ) for ; Sun, 10 Mar 2024 21:12:15 +0100 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 aJYyHx8U7mU6FwAAe85BDQ (envelope-from ) for ; Sun, 10 Mar 2024 21:12:15 +0100 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=c1UDp4yh; 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=1710101535; 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=26Dmr3lBuMlMqtWReyQcl9bjK67xEq0+lZScqKfbYvY=; b=GwnIWUdnbLb6VwIn/y4/lwOQzu53jNbZAhQCBNyMotY9R9cHPjs04VfD1pRDQyeShhEhFl diGDe6eA4ptXPsntMtetghvRemR6goyUj9mitW/X1DDPJuWMhli8nm4K0fSzgkZ2O5KuiV EwlLSwlFMKfI2clqn/Lfp4xtic49YWaWh2FnYhzsI5HapTGmaLVhCr6xa89DIXY7pphYEK Ubt23Tabn6M/qC20hVBmMoG+bGwaY/uYujHERmQdVlwPpU3J4hQbW5nfIe8exAROEmJDxT FSlYzzMu/Y0ddv1EYA7IgJmffSqxgdGIDJdF4DKr8IQp8BCVw7q25AUBCoH3+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=soeren-tempel.net header.s=opensmtpd header.b=c1UDp4yh; 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=1710101535; a=rsa-sha256; cv=none; b=cDwuBu7nG4zOpCfpqkDowuwXbxcrBmmgXUeSqvsanaldchQQD+EaU5DxuhyyC27yvdclra VAWEQelKhhwUnDUS5gIiX2vzPoqvYdDCoJKRuL3ZVWl+8afPdTARNANbG5EHMQo/vDhmeW F2tlT9KwQKZOwr5oxXTWrgZZHV+qYche57xiJQ8NnHbl3yi1HIhKnwNK6urLLHBB1nz8qZ 5CaQpOuSorBRNZV7U7+d5aezaf+4vwPzZWp7AGY11ZwzOYtbAKX9QWC2C3EGAs24HYJZxV pFG5fM4HgyQJKOBRWMxk+VwCDEqiTpR4/Rw5urUh4KM0TIyhYL1AFr8DRjj7lw== 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 15FF6170D4 for ; Sun, 10 Mar 2024 21:12:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjPW9-0003QR-DR; Sun, 10 Mar 2024 16:11:33 -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 1rjPW8-0003Pj-D9 for guix-patches@gnu.org; Sun, 10 Mar 2024 16:11:32 -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 1rjPW8-0002Oa-3T for guix-patches@gnu.org; Sun, 10 Mar 2024 16:11:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjPWf-0003jC-Ff for guix-patches@gnu.org; Sun, 10 Mar 2024 16:12:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69074] [PATCH v2 08/14] gnu: Add python-archinfo. Resent-From: soeren@soeren-tempel.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Mar 2024 20:12:05 +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: troy@troyfigiel.com Received: via spool by 69074-submit@debbugs.gnu.org id=B69074.171010149914214 (code B ref 69074); Sun, 10 Mar 2024 20:12:05 +0000 Received: (at 69074) by debbugs.gnu.org; 10 Mar 2024 20:11:39 +0000 Received: from localhost ([127.0.0.1]:37970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjPWF-0003h7-9w for submit@debbugs.gnu.org; Sun, 10 Mar 2024 16:11:39 -0400 Received: from magnesium.8pit.net ([45.76.88.171]:44758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjPVv-0003eq-Vu; Sun, 10 Mar 2024 16:11:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=opensmtpd; bh=26Dmr3lB uMlMqtWReyQcl9bjK67xEq0+lZScqKfbYvY=; h=references:in-reply-to:date: subject:cc:to:from; d=soeren-tempel.net; b=c1UDp4yhVWBYY4UPzbbnfzbpUX6 MM18AuD/NbfWS6ZbZY+fXlXfOLBfHdymJ+c3rZvV52OaiqHldNj3Kg80QwBClc8E1YQlPy 1TMBbKvYXTpOU8ZqWVW7N1TCS/n9zCZkByLAHHG8sAq5w/UaLGjZG99gBnYCAQ7HFojCrB AI5c= Received: from localhost (dynamic-2a02-3102-49da-001b-9766-31d2-bfd2-3d82.310.pool.telefonica.de [2a02:3102:49da:1b:9766:31d2:bfd2:3d82]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id 038787d4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES); Sun, 10 Mar 2024 21:10:41 +0100 (CET) From: soeren@soeren-tempel.net Date: Sun, 10 Mar 2024 21:09:28 +0100 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: <19ef0993fd8891d02402943609f70de73e0b233a.1710101374.git.soeren@soeren-tempel.net> References: <19ef0993fd8891d02402943609f70de73e0b233a.1710101374.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.17 X-Spam-Score: -4.17 X-Migadu-Queue-Id: 15FF6170D4 X-Migadu-Scanner: mx13.migadu.com X-TUID: 5FyRecwckQ9O 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 43af9804e5..28bb1ac3cf 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) @@ -2619,6 +2620,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"))