From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 cCaBM+EOqmaOMQAAqHPOHw:P1 (envelope-from ) for ; Wed, 31 Jul 2024 10:16:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cCaBM+EOqmaOMQAAqHPOHw (envelope-from ) for ; Wed, 31 Jul 2024 12:16:01 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=HFl91bAz; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=HiCurtmo; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722420961; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=r390VZi1nUjsoLILQ+mWbAgBK7SH/H/Izd6UU6XnRZc=; b=Wu/NxDFFSlsxahbP2zC5B4Psi2BQVfmUmfGj5wPNqtv6l9b6cFNLXc0EwiHIr+Iyg/KDWt x2XwbkxTXPcUO66aFBTKgcTNyVk0Ib2SAFqhAbnzMAmab+OzRbPF5VX776d36gu8Dvsh+O 4N4eePzvO+n8D2Nf+BoTgnKJQN/Y1UqfVtEFuANpLqHqXayl07LnqZbDkVkMf6DQhtqEYt J7PkI+fMzaSvsDDKumhFJXZbl3k2Tt8UulHqylcXozqfXy5sp0DRCm+4AY9b/rDBt+S7lc L6w/rwSWWq5yTaTmHvXLl7X6LFmSSDkpQYqtgzedzajuuF1rnxY09Os5ziCpcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=HFl91bAz; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=HiCurtmo; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722420961; a=rsa-sha256; cv=none; b=olDtNhb8/I6dA7J88KoK2n2i/dTgkxS7YSGPbw3AbTJpPOSIMpPlgLfjHuO3jy8R6qHgee RFrmZ2KTdZMJGggPeh66IecENkU6uCfxE3h8+6juuimKB1YptHKzCYSlnsgfiakxVpdegN VGN2P75EBbmpDrlg2BG6WfMH7XGu0BsFFLCyQAXRNcmLJTYeTavtaQ5i3WV9qT4eti4g2W cgDIYsimwRYgG+lSo2bCGexVjXvi/UkPI7QuI2dTSFuto5XLBDvsKnTrKzqwhe0D5XaF0y 9LKOwFR2/K8AK0AOgDK4TGu48k5h11/IPUSjwIndC0ReJDaClQqcMv6rgww/mA== 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 ADDD169B1D for ; Wed, 31 Jul 2024 12:16:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZ6N3-0000su-8i; Wed, 31 Jul 2024 06:15:49 -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 1sZ6N1-0000sa-Um for guix-patches@gnu.org; Wed, 31 Jul 2024 06:15:47 -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 1sZ6N1-00043z-L9 for guix-patches@gnu.org; Wed, 31 Jul 2024 06:15:47 -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=r390VZi1nUjsoLILQ+mWbAgBK7SH/H/Izd6UU6XnRZc=; b=HFl91bAzSk498sAxJF5106oWwXZMTgYFskeo6BDxvSf7vYr5Tyb+zko/ljt6XtHQMmeb9tOBX9lYwOgpAKtLSVNbN6dc1+/IsZfLFG+NLZ/Tc57Og8pw3MRH3DfQqZSv7dnLK+T43nblamLdl2YweksFrXRGAcKK2+NUen2fJ1QqwjwX5y9VhhASpeAGy96fERPV354WQeZUqC5qAT0F+NbG4hky0kx1vXwTKlJiOwSgho+7EL/Zte/F4zm5IaXL0XrARFblljVVLd8Db0thRCGonr3QfC1M2jQC+KN+a33fNFDYF3dVQynG4XxZSPXhgEdAIw2U5OxunmZHxxMx5A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZ6NG-0003b4-VE for guix-patches@gnu.org; Wed, 31 Jul 2024 06:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72396] [PATCH 2/2] gnu: Add zydis. Resent-From: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Jul 2024 10:16: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?Q?Nguy=E1=BB=85n?= Gia Phong Received: via spool by 72396-submit@debbugs.gnu.org id=B72396.172242094013789 (code B ref 72396); Wed, 31 Jul 2024 10:16:02 +0000 Received: (at 72396) by debbugs.gnu.org; 31 Jul 2024 10:15:40 +0000 Received: from localhost ([127.0.0.1]:49226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6Mt-0003aL-Pc for submit@debbugs.gnu.org; Wed, 31 Jul 2024 06:15:40 -0400 Received: from layka.disroot.org ([178.21.23.139]:36484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6Mr-0003aC-8B for 72396@debbugs.gnu.org; Wed, 31 Jul 2024 06:15:37 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3B99841175; Wed, 31 Jul 2024 12:15:20 +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 70lL560DXS4v; Wed, 31 Jul 2024 12:15:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1722420919; bh=7e+r6e21pQHfhu2it0oA+NpgkwneMbc4swQYyktJdgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=HiCurtmo7saWnWKWdEhwVRY12k8R5o0NoZoe0n3c9pJDiKBBlZJ73diTvp2WO/VQ+ z5HLj422ejgrCnxE74DAU2yRGlakfivEZPWPgFpSb9Bk9uR4dOUUXwMN4+jdixBGSE olFpYnCV1TIHBaXaxUCxzsAQ851/f+nkWao0H6oEufu/MDSFIUQiCuhjICHV/D69VU f5qArp4Svs/D7j+CuEOli9/u+GkarMYO4mu5r8D3DRS7peI4UkES97E/RzaNdIqRGC 3XPEuh9ZVujrDTy863+t7d7A7ZWM56kEZgc3D8Ee5OiMxToeJUh2TdYWnvOd3ZbpS9 kolvwIcpDyHXQ== Date: Wed, 31 Jul 2024 19:14:36 +0900 Message-ID: In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong X-ACL-Warn: , =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong_via_Guix-patches?= From: guix-patches--- via 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: -6.43 X-Migadu-Queue-Id: ADDD169B1D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.43 X-TUID: QYLRt5Hlsqe0 * gnu/packages/engineering.scm (zydis): New variable. Change-Id: I6e0b04e1d957f8c172e81177f6669415beeaf20a --- gnu/packages/engineering.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b6ae19101b42..4eb0e6cb6b9a 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1950,6 +1950,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") -- 2.45.2