From patchwork Wed Jul 31 10:14:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 66581 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 BF4BD27BBEA; Wed, 31 Jul 2024 11:15:56 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 248F327BBE9 for ; Wed, 31 Jul 2024 11:15:56 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZ6N2-0000sm-KN; Wed, 31 Jul 2024 06:15:48 -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-0000sN-FH 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-00043n-5w 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=o8jDpY1SYhTj23Jd1Bia50V4qFNEXHbvXBaXgJjyIAM=; b=A37psjiSde1r3xuJ66Kv/xjeAsOb7hHY8MDHoVs+MxwC6M5fPlkz/NHbX75YI6ygchQC9Tq4QvbviyOApc4XXgYGQQxJsO8JSQan2hGcFt1reYdugR4XCeftvI5ZxpejuHVebTqaH37oO6U2dNcIFQA4jAV2af0+2GZHlirR6YcUqsUDiF1Q0Ofik/xNbC03GSV4gkS6aD6zA88VqY5V572ohyhXiFuLK98mXZ4gdUtMQ2TfuMtncdLHAKoY3Y2zfr/NEdMB4hNjQ28WMD7G4Ho/l1JbJEhCMBQB+CWBdFsUek1G06xG/lNBZ0Gs5L6V66+lmxGbd5jqtiUAmgnm9Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZ6NG-0003ax-Fo for guix-patches@gnu.org; Wed, 31 Jul 2024 06:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72396] [PATCH 1/2] gnu: Add zycore. Resent-From: =?utf-8?b?Tmd1eeG7hW4=?= 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?b?Tmd1eeG7hW4=?= Gia Phong Received: via spool by 72396-submit@debbugs.gnu.org id=B72396.172242093213769 (code B ref 72396); Wed, 31 Jul 2024 10:16:02 +0000 Received: (at 72396) by debbugs.gnu.org; 31 Jul 2024 10:15:32 +0000 Received: from localhost ([127.0.0.1]:49223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6Mm-0003a1-Dr for submit@debbugs.gnu.org; Wed, 31 Jul 2024 06:15:32 -0400 Received: from layka.disroot.org ([178.21.23.139]:39534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6Mj-0003Zr-Lt for 72396@debbugs.gnu.org; Wed, 31 Jul 2024 06:15:30 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CB5AE4118D; Wed, 31 Jul 2024 12:15:13 +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 ZtKei81TDU1e; Wed, 31 Jul 2024 12:15:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1722420912; bh=8RMR4v1nwIO/vnRQ0A0Zqy8qQr+hRoehQDVmHqrbZ9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QI/kHAmYOI5U8h65joN8ZIu1rgrNIUPT/sI4qlB3lPbhcARsBHrNU0ul6ZHEDdxcc AWzK7ygnmZvK4xujnKaIXA/vxkyK0byZx4e7D5SxapjOA8IH7EoZCBLce2o28Lk8kv QN3mrYRBFzXf4V/hHP4hWsNzW2wAAJ9XUsf5YOw0Z37ZW1L6WW9V4MmMwM3okMWFjB gmM1TQRqBbXrM82yK7Bq8JRXyPxcW4MqZpvHgJFTmqupuvft+uxsuG9ubKwiLa0JmW ILNahgRvr9tiz1VYNP44SVntV1TnH1ZhJY2vwECMgQSzjAHU/AnjWLaGtT/JGfpyJT p/Jhh5lKfqO3g== Date: Wed, 31 Jul 2024 19:14:34 +0900 Message-ID: <254535bd95290fdd6aca4bb5eb1b2e17330a91e3.1722420324.git.mcsinyx@disroot.org> In-Reply-To: References: 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 (zycore): New variable. Change-Id: Ia38413f43bc667a9a12916d3f0e786e06f6d358f --- gnu/packages/engineering.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index f411d4ac1ed6..b6ae19101b42 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2023 Sharlatan Hellseher ;;; Copyright © 2023 pinoaffe ;;; Copyright © 2024 Juliana Sims +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -1926,6 +1927,29 @@ (define-public radare2 it suitable for security research and analysis.") (license license:lgpl3))) +(define-public zycore + (package + (name "zycore") + (version "1.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zyantific/zycore-c") + (commit (string-append "v" version)))) + (sha256 + (base32 "0s962pkqybh1xbs75y4jb4bqc9qnq0sviqd570mirqdhhq87agib")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (native-inputs (list googletest)) + (arguments `(#:configure-flags '("-DZYCORE_BUILD_SHARED_LIBS=ON" + "-DZYCORE_BUILD_TESTS=ON"))) + (home-page "https://github.com/zyantific/zycore-c") + (synopsis "Internal library for Zydis.") + (description + "This package provides platfrom-independent types, macros +and a fallback for environments without libc for Zydis.") + (license license:expat))) + (define-public asco (package (name "asco")