From patchwork Sun Aug 18 02:23:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 67085 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 E9CC427BBEA; Sun, 18 Aug 2024 03:27:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 77A7727BBE9 for ; Sun, 18 Aug 2024 03:27:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfVdd-0000Uw-Kb; Sat, 17 Aug 2024 22:27:25 -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 1sfVdc-0000UZ-7Y for guix-patches@gnu.org; Sat, 17 Aug 2024 22:27:24 -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 1sfVdb-0002jT-UZ for guix-patches@gnu.org; Sat, 17 Aug 2024 22:27:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=uloBg8k3B37YoE72ijiVeyVyqdHZ83BbKZDNqyyQASQ=; b=G/fDooBqgDknIChFFeJVNWKsf/7cLN+kBO0WtW9PWN1vBTZZcyWdqi9omO39VRCSs0VdpK7O1KwA/h9YEWfSeDVvATlc4QojlUkk1lZT/1tXoWKc4vPOc7BM1YhyF2cFNBt0Of4YLc1lKmJ57CNOoNuOOCdzWSwiZY0lk04ZAWjT05ANeCCYrFX0994gP379UL6e7DfUjp3BLPjaqSWEOmMaq1ya8t37S9rMAjqczbl57XcApi64+iS4QQ3iCt/ZFikCY0B9IbHqj2frP2ZG8D5CxvnGi4p6eCHehL7Ao6dhdjNQTuyew88nfG/8zig+AXVnQ5B+FsN0kw9QlaMZVg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfVeE-0004oG-IE for guix-patches@gnu.org; Sat, 17 Aug 2024 22:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72396] [PATCH v2 2/2] gnu: Add zydis. Resent-From: =?utf-8?b?Tmd1eeG7hW4=?= Gia Phong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Aug 2024 02:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72396 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72396@debbugs.gnu.org Cc: =?utf-8?b?Tmd1eeG7hW4=?= Gia Phong Received: via spool by 72396-submit@debbugs.gnu.org id=B72396.172394804118307 (code B ref 72396); Sun, 18 Aug 2024 02:28:02 +0000 Received: (at 72396) by debbugs.gnu.org; 18 Aug 2024 02:27:21 +0000 Received: from localhost ([127.0.0.1]:55151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfVdZ-0004lA-16 for submit@debbugs.gnu.org; Sat, 17 Aug 2024 22:27:21 -0400 Received: from layka.disroot.org ([178.21.23.139]:39482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfVdX-0004kr-8R for 72396@debbugs.gnu.org; Sat, 17 Aug 2024 22:27:19 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 012AD41AB8; Sun, 18 Aug 2024 04:26:39 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6eLYcpiEYPAU; Sun, 18 Aug 2024 04:26:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723947997; bh=a2qP1rX4/1KRm6ZW/Axgx9NUKHA6/7G2wnSfGh5qbS0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kKIzQUl5k5cXnVVuW+O3sXTAffQNAdOUNrkg25xdzYiUZk4jihm+jIEE+uWmWB2jh hfZun03//2PA/79GpB+p7cKAvYqktIVcMDDyom8g9R6n9ciE0grLZ48GS692nhezio GPLXhLtra9sjzhQo9Omno+Gc/P0JyP4VHY4uO9pVXfjLUOW/LdQH6scARE/GEunH+E 2GrFtyhVh2lq1YehHz+oKHwvqjFwC/JDps8uGVBBhaa/rCaUSy03geNaHrrtFWOa8i KVprNKPXFBoXvS4ltNm4clJHC6k4FzKeb3E0w+2jPpjpshQzNRUbiVket0SA2nAhOU +rcTDqZG4H+cA== Date: Sun, 18 Aug 2024 11:23:00 +0900 Message-ID: <6c2035f759a89750900eafc23f7ab943649d8e28.1723947780.git.mcsinyx@disroot.org> In-Reply-To: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> References: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> MIME-Version: 1.0 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: =?utf-8?b?Tmd1eeG7hW4=?= Gia Phong X-ACL-Warn: , =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong_via_Guix-patches?= X-Patchwork-Original-From: guix-patches--- via From: "ashish.is--- via Guix-patches\" via" 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 * gnu/packages/engineering.scm (zydis): New variable. Change-Id: I6e0b04e1d957f8c172e81177f6669415beeaf20a --- This patch is identical to the one in v1. gnu/packages/engineering.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 24dc4f0197c7..fba30809e18b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1951,6 +1951,37 @@ (define-public zycore and a fallback for environments without libc for Zydis.") (license license:expat))) +(define-public zydis + (package + (name "zydis") + (version "4.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zyantific/zydis") + (commit (string-append "v" version)))) + (sha256 + (base32 "15iw6wcg2van8pw54xs15zk5cniqm8d8vbd1w1br9azv8jxsqjva")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments `(#:configure-flags '("-DZYAN_SYSTEM_ZYCORE=ON" + "-DZYDIS_BUILD_SHARED_LIB=ON" + "-DZYDIS_BUILD_MAN=ON"))) + (native-inputs (list python ronn-ng)) + (inputs (list zycore)) + (home-page "https://zydis.re") + (synopsis "Disassembler and code generation library for x86 and AMD64") + (description + "Zydis is a decoder and disassembler library with the following features: +@itemize +@item Support for all x86 and AMD64 instructions and extensions +@item Optimization for high performance +@item No dynamic memory allocation +@item Thread-safe by design +@item Smaller file-size overhead compared to other common disassembler libraries +@end itemize") + (license license:expat))) + (define-public asco (package (name "asco")