From patchwork Sun Aug 18 02:22:59 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: 67086 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 AB50F27BBEA; Sun, 18 Aug 2024 03:27:49 +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 EA4AE27BBE2 for ; Sun, 18 Aug 2024 03:27:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfVde-0000VT-JQ; Sat, 17 Aug 2024 22:27:26 -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-0000Un-Mh for guix-patches@gnu.org; Sat, 17 Aug 2024 22:27:25 -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 1sfVdc-0002jW-Db for guix-patches@gnu.org; Sat, 17 Aug 2024 22:27:24 -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:Date:From:To:In-Reply-To:References:Subject; bh=yd095WpcTcwKiOmHIPMK/lwIln2X75oaRuNyc63L03c=; b=JeeknhfPMUXON3ToTJxFrjdHn1hzd4nZLwh9eqJ8/wl7ZfZeE/u01S3ebXhSzr1uJPn+EVN9RSI4siPrEq7ZfGNd3dVjmpvCRX6Urv5KtyQVZrJHx8w6oALM2m1k5HblHgj/HR+FORha+eFUL4EsdC2Hwyh1uPGQbqTkF3KauNFykNDHVjMvo4uVwPBOZAize64st0axuH/5Lnpv5QhoSt+VatBI4lb3HmRUJx+/XNPnn2c7AtBo302apepr+zlJOzaRjVpUtDmIPpsy6SPj+/vJ5eDGNNbQ5dnWRUeihuIIFoFMtpohmWQT/RGMFVBusUePp5tfR/aCvRJ9rneIJQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfVeF-0004oO-1I for guix-patches@gnu.org; Sat, 17 Aug 2024 22:28:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72396] [PATCH v2 1/2] gnu: Add zycore. References: In-Reply-To: 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.172394804118316 (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]:55153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfVdZ-0004lE-Eg for submit@debbugs.gnu.org; Sat, 17 Aug 2024 22:27:21 -0400 Received: from layka.disroot.org ([178.21.23.139]:56192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfVdT-0004kX-G3 for 72396@debbugs.gnu.org; Sat, 17 Aug 2024 22:27:20 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 39BE541AB2; Sun, 18 Aug 2024 04:26:34 +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 dVDOQpO5yrTN; Sun, 18 Aug 2024 04:26:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723947993; bh=rPtDK+vhVOdwQefdBBOkcLw9M/ymT5oS2F4NNdp5zI4=; h=From:To:Cc:Subject:Date; b=mcWH9yY+YuVrGE2XmEkyHsXxjAI+75ZWdIgCv5qnvj5WES++fldXtkHaWOiIRh9ee yTJY51BKJckMpfsOCY2sKce5cjlvrBpyUj3KGmpRv/9tTZLj8gNyv7dEKY2RMHLBuZ wGv5OA0PtG1h+OTeCRWswLXNeEU30fWS41D8GWf41jakokDcqQVFcF/b8i2jmLlfzh n+4bDnSNGDEsIPtMMW/JqV14ZMoLelGjxa9VS3W2ZcFptC7obnpR5WVQTmFGXIfzr5 l5yEcJZYu/D38KgSajjHpTMpes1vbHFZDhMN8aU43ZaJuogja1IneJ/zKbdPNCmYZY 1y7W8GmTWJWNA== Date: Sun, 18 Aug 2024 11:22:59 +0900 Message-ID: <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 (zycore): New variable. Change-Id: Ia38413f43bc667a9a12916d3f0e786e06f6d358f --- On 2024-08-15 at 16:19+02:00, Nicolas Graves wrote: > On 2024-07-31 19:14, Nguyễn Gia Phong via wrote: > > > * gnu/packages/engineering.scm (zycore): New variable. > > > > + (synopsis "Internal library for Zydis.") > A minor nitpick: > zycore@1.5.0: no period allowed at the end of the synopsis > > Checking `guix lint` would have told you ;) > > Otherwise LGTM, built and rebuilt deterministically. Thanks, this revision fixes that. I cannot get guix lint to tell that to me however (I ran `./pre-inst-env guix lint zycore`). gnu/packages/engineering.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: 41c44ffd5659d13f5c1edb78d92ad27275ead78a diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 7a9c0bc436f7..24dc4f0197c7 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. ;;; @@ -1927,6 +1928,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")