From patchwork Tue Nov 5 23:14:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69893 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 DC85527BBE9; Tue, 5 Nov 2024 23:16:44 +0000 (GMT) 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_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 8F8FC27BBEB for ; Tue, 5 Nov 2024 23:16:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmJ-000345-P4; Tue, 05 Nov 2024 18:16:03 -0500 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 1t8SmI-00033c-Ah for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:02 -0500 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 1t8SmI-0002D8-1t for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:02 -0500 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=h4e8aGcWcz/ABh74rwEnXeAZWh/1GeYxhbaweI7b+aU=; b=NOdaHL4Zq2GaTOnRO1Jrv7Gu/OB9MNr5OaDmocpKzkwVxWmopQYsfuezrXoCeDTTwZAgl/FS+9rLOPGENI4/DwlhvKO6ADhPkpNHKN+A9ZrizmpDQ++CRDI9M9wTaQYwNOHdzTTe7Bt2x0Cd84mGxpfz9Glx11m/K1egi8gH2Wp0Rb0NlEmJAbjmn88gO2DYPB+Pl3qoQHYBZB573SNEDxAdD7lei+U1OA4uOnrJjBxmJt2AUIqpATe5TGujbvZZBv4mXdcUcvPS5gqQKzapLw7M3uar29l1z76oA3D+9mEilpaZHY7AaHg2WtXwfp38MPh/4zHf/5l4/6FP531xBw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmH-0004KO-UP for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 01/20] gnu: rust-widestring-0.4: Update to 0.4.3. References: <20241019230841.993-1-ngraves@ngraves.fr> In-Reply-To: <20241019230841.993-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084853016533 (code B ref 73896); Tue, 05 Nov 2024 23:16:01 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:30 +0000 Received: from localhost ([127.0.0.1]:38398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sll-0004Ib-W4 for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:30 -0500 Received: from 2.mo560.mail-out.ovh.net ([188.165.53.149]:53119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Slj-0004IL-Ux for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:28 -0500 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.17.58]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4XjkhZ5hlyz1dt7 for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:15:26 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-fqjns (unknown [10.110.118.251]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 829C01FE81; Tue, 5 Nov 2024 23:15:26 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-5b5ff79f4f-fqjns with ESMTPSA id 8RpTFg6nKmf0QAIAMDCEag (envelope-from ); Tue, 05 Nov 2024 23:15:26 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-103G0054dcb6105-fdd3-4025-81e4-0dc3a7f4e436, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:49 +0100 Message-ID: <20241105231519.22378-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 12037558855331603170 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=h4e8aGcWcz/ABh74rwEnXeAZWh/1GeYxhbaweI7b+aU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848526; v=1; b=UwmFcwUoeKtPRjugZPSZLl4Rn/wxromOHGoeg3NWdX7bkBgWvwR5Xumq7OBb6FroY4VUkohU x/fBpSn0u2iriLRMB//R5R7f2zpbGcE4jo+vivQcdYys7+GBNzsFNN9XwfnZG6N0QH2WC8OB8Gj CK+ZyHUW5cQOVn9xvv/s/AAhQ2GTu61KczGvRTtp4C+dAzkrTOZ813DRh0b8PJBJ2+ev1mtsv27 3PYdjDF7ackezvnu9irAPqTyTKHZi/nNYLX9iFyv/TDS11Ap7ohkroEKLU4SOECWOiuXniTHLlf hp5HkVNIxbxYJfd2tV14V0vP0eKBL0O/g426w8L2TxkPw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-widestring-0.4): Update to 0.4.3. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a377d300c4..f66399c2eb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -90699,7 +90699,7 @@ (define-public rust-widestring-0.4 (package (inherit rust-widestring-0.5) (name "rust-widestring") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) @@ -90707,7 +90707,7 @@ (define-public rust-widestring-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13565qy4jhpg4x0xw8mwxzzsh0p8c93p5208lh6kpwp0q01y6qx7")))) + "0z3ba8qrxb62vpfgk7n2xs2grm9kdaj1cz4q8s0gs8fx8h0r8s61")))) (arguments `(#:cargo-development-inputs (("rust-winapi" ,rust-winapi-0.3)))))) From patchwork Tue Nov 5 23:14:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69890 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 28A7A27BBEA; Tue, 5 Nov 2024 23:16:11 +0000 (GMT) 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_DNSWL_BLOCKED, 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 E510327BBE2 for ; Tue, 5 Nov 2024 23:16:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmL-00034y-Pm; Tue, 05 Nov 2024 18:16:06 -0500 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 1t8SmJ-00033s-4Y for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:03 -0500 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 1t8SmI-0002Di-Rd for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:02 -0500 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=2lBtQmS1F3j6yIfgBUGaCn/iEXXubW9WwOWIYtXQ7q4=; b=MTlO251XEFmbhv5EGjSlHEgpTfjLatmQ92aMhxAJtVVQMJW4jLr5UfFSIGoG1r+Xjbvgus5hIp2/Oy+nHDvJTdTUOGeNr0tmtCZk75AaTvsXtEk9Ik3Pm7xG2qEDsjVy91bhAGa4L3K8/WSyQPXOZMEZdFYI4Lf52lO9MXzPOyio5BewUSFY4YHzzCGRm6/q1jRYFRZv4dqhF6zsZLIXsP0sHJl3esl86+HYdLFOwEhbSRv+e+lmmwOLdeEx0J3LiPodIwnlV6sNiq0hZae6A4FOGWYGDwFEQo8MwZW76tesytqZmU0KoUVceSr2zcX9v8J30wt+YuoKFKbm/AeAOQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmI-0004KX-L5 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 02/20] gnu: rust-enum-primitive-derive-0.2: Update to 0.2.2. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084853116546 (code B ref 73896); Tue, 05 Nov 2024 23:16:02 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:31 +0000 Received: from localhost ([127.0.0.1]:38402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sln-0004Io-BH for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:31 -0500 Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]:41243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Slk-0004IN-Mg for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:29 -0500 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.140.207]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkhc0Qf5z1vhT for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:15:28 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-gwmgq (unknown [10.110.178.153]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id BDCCA1FDF4; Tue, 5 Nov 2024 23:15:27 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-5b5ff79f4f-gwmgq with ESMTPSA id hHOFJA+nKmcRcwAAnsM7yg (envelope-from ); Tue, 05 Nov 2024 23:15:27 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-107S0016acadd1e-03b4-4187-b39e-7dbbb8159adb, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:50 +0100 Message-ID: <20241105231519.22378-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12038121804708111074 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=2lBtQmS1F3j6yIfgBUGaCn/iEXXubW9WwOWIYtXQ7q4=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848528; v=1; b=H18FXt1aCpiD4WPgJRAf76Idr6w5bcqG+7Vvt4w4ArQQpqckElNR1BAWSFo9olWowTs+pAJz I4Xw0L5b8WWDydV40g+5uCbZwp/5bnnCHAG8Vp3zWfYLGx+H3a8V6WZRZloQ2sLrYkmdv8np09Y qnoCO9keOxwWuQqH3qYHwY8cB1ksggIF1z+pjm3a2Y/4fpFgBAT7jfiqNxui7L25FLd2OYHWV5v h0qlW1KnOD7ek11FAj8J1G7uxsFRwmu+dNFnule9ixoNRwu/SYowKikhIQGaXywM67u9W9KYjVN GklijHuIqzLfH1UwWxfgnBm3A1UuOpgoEpA7rKX7oFYYw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-enum-primitive-derive-0.2): Update to 0.2.2. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f66399c2eb..0659a10ca1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24068,7 +24068,7 @@ (define-public rust-enum-primitive-0.1 (define-public rust-enum-primitive-derive-0.2 (package (name "rust-enum-primitive-derive") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) @@ -24077,7 +24077,7 @@ (define-public rust-enum-primitive-derive-0.2 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0h1k2izdl5lf2na8xnj7rgwjm8gawxc2p1w8j6ahifvyka7jhljz")))) + "03ibjjx8dc4akpq8ck24qda5ix4jybz9jagfxykd0s6vxb2vjxf3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs From patchwork Tue Nov 5 23:14:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69891 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 1BA7927BBE2; Tue, 5 Nov 2024 23:16:19 +0000 (GMT) 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_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 34A6C27BBE9 for ; Tue, 5 Nov 2024 23:16:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmL-00034t-PA; Tue, 05 Nov 2024 18:16:05 -0500 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 1t8SmJ-000340-K5 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:03 -0500 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 1t8SmJ-0002Dr-Aw for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:03 -0500 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=2932A+JVxRquEY/148hI80jUSBIsN0qUMxbyVscuesY=; b=UuM4AVhxH1FKnaUwosTrpd8K7gYqj7KgBkuJbZSaWLh5QBEW33tn0OrSFmewQvJAgjsdKGzvy01YEeiGdVsiBSLJKAsR8O19mdB/nPCZBJoLTlBE8a4QXnWoba2Z75kKQkTti+IeBrowwqzi36NWkfS0KsDKrBr796yjfze0mMz5unBU73qXeZniTuhEAlPLw2hZK8Kr89cKeN0am7BSDuJoBp3PYvsbka0ce+nXGGTChE4OBoDb+UycSaXHSWHccyPrSeQ9nMCQoCvka68ODLERaQN/+VgCFa9P64Bsgrd1NfciF8fUNnaC3gILOoxdzTe2zgH0DLJ7p4pqFfROUQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmJ-0004Ks-76 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 03/20] gnu: Add rust-onenote-parser-0.3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084853416556 (code B ref 73896); Tue, 05 Nov 2024 23:16:03 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:34 +0000 Received: from localhost ([127.0.0.1]:38404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Slp-0004Ix-Ls for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:33 -0500 Received: from 2.mo576.mail-out.ovh.net ([178.33.251.80]:37959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Slm-0004IZ-8j for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:31 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.148.12]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkhd1YhKz1vhV for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:15:29 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-4p526 (unknown [10.111.174.124]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E9A6D1FE90; Tue, 5 Nov 2024 23:15:28 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-5b5ff79f4f-4p526 with ESMTPSA id 0m5DIBCnKmdsYioASrjgQA (envelope-from ); Tue, 05 Nov 2024 23:15:28 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-103G005b8182626-df03-4255-837c-1c36c447d0a7, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:51 +0100 Message-ID: <20241105231519.22378-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12038403280075678434 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeejtdelvefhfeegvdfgffetgfffudetieffgeeigefhheehfefhtefhteffveelveenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhonhgvnhhothgvrdhrshenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=2932A+JVxRquEY/148hI80jUSBIsN0qUMxbyVscuesY=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848529; v=1; b=kzo92ihoToqUedz4TnOorGnsg/Hofy7ODdXwYsuVIOp7/YD9XLHU3DZTjz8Bo4+VY1td4qG9 GsxBwii4s8SOgwfYaBk77TpRSZEP2+5yJP8Dx/wa6guc8vfgP1mq3HdWIdEk+d6423vr2XDK4RZ xIaYibqrRogcsTZrAHfSh3JMxrpG9y8IcMnry+pEmEhhzmIaapFZvshKuWzctKVWi/6BqnDHREp 2xJM+N+qfqWhNUeRT8UA+cS1lfSCrMV1Dr4Y1cAf100Mr50xc8AS1QxyWOQlbMfWUJNl+VgIaQN 06DqCqlc2RyLSJBONhmZc9Dk7aPqYNiXplLSc1NouYPFA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-onenote-parser-0.3): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0659a10ca1..2ba9ca3bf0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49317,6 +49317,36 @@ (define-public rust-omnipath-0.1 (description "This package provides a path utility library.") (license (list license:expat license:asl2.0)))) +(define-public rust-onenote-parser-0.3 + (package + (name "rust-onenote-parser") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "onenote_parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12rj3ixhnxvl2mpkad3ng4b8fx4ynxhdlwzxba36c8i98ls57zzf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2) + ("rust-itertools" ,rust-itertools-0.9) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-paste" ,rust-paste-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uuid" ,rust-uuid-0.8) + ("rust-widestring" ,rust-widestring-0.4)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1)))) + (home-page "https://github.com/msiemens/onenote.rs") + (synopsis "Parser for Microsoft OneNote files") + (description + "This package provides a parser for Microsoft OneNote files.") + (license license:mpl2.0))) + (define-public rust-onig-6 (package (name "rust-onig") From patchwork Tue Nov 5 23:14:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69895 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 AD5F327BBEA; Tue, 5 Nov 2024 23:16:59 +0000 (GMT) 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_DNSWL_BLOCKED, 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 D2C9727BBE2 for ; Tue, 5 Nov 2024 23:16:58 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmN-00035m-49; Tue, 05 Nov 2024 18:16:07 -0500 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 1t8SmK-00034P-Bh for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:04 -0500 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 1t8SmJ-0002E0-SY for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:03 -0500 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=o+aNOHwor4w/78FVVpabUQ55R4vA6/sjokfUG1wCy6g=; b=ktjxCequdO1eICotHV3bLxvr4/hUlTW8A+Zl19S4v/TOZ1jf9+FXGvSohjVEuq7mbFwV7HCzRoUwi7YYZjRHvur8YOT9KFFxIrWa/K0t8rEvmjwvHvdmoOfYGbUwSE1eaj+6+/ryUEFtG2Xm4U233G2Q4RXiXefZ03H+oUctZmA3Y6otiM1UKVYOlOY4QhLeFa3nZhLNY1ZptWSkCRmvtgb1YCIzEV62o08FaiUxqk84ISzNE6xCvW1MMILTaX4O9yW1vBEhU7/g3EGqvlR2zDHc6lLjGFqNFsDFKjQuncbkCFn6pHewgAGDbaMUQC/qbc1YZB7NV2h5o+z3PsGjJQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmJ-0004Kz-Mj for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 04/20] gnu: Add rust-onenote-parser-for-clamav. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084855016593 (code B ref 73896); Tue, 05 Nov 2024 23:16:03 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:50 +0000 Received: from localhost ([127.0.0.1]:38410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sm5-0004JX-2w for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:49 -0500 Received: from 11.mo581.mail-out.ovh.net ([87.98.173.157]:37609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sm0-0004JG-Lq for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:48 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.25.16]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkhv4Bmvz1MFj for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:15:43 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-2gkmb (unknown [10.110.168.38]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 54D8E1FE7D; Tue, 5 Nov 2024 23:15:43 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-5b5ff79f4f-2gkmb with ESMTPSA id 0Bq2Nx6nKmdDcBkALo/peQ (envelope-from ); Tue, 05 Nov 2024 23:15:43 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-99G003f89c94ec-ed69-4d74-bd3d-397ec89fb4b1, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:52 +0100 Message-ID: <20241105231519.22378-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12042343932894372578 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 5 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecufghrlhcuvffnffculdehmdenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueevjeduheeftedvuedtgfeghfeuhffhfeeggfejudelgfeihfekgffhvdfhtddvnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpohhnvghnohhtvgdrrhhspdhgvghnthhoohdrohhrghenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedumgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=o+aNOHwor4w/78FVVpabUQ55R4vA6/sjokfUG1wCy6g=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848543; v=1; b=WfDsGbGhb26O/JbCHx1MUtuacL+M46Uaxx5CucTpxddVWVL2tIuiLiUGJp/H7ksvRi5k8XOw 6NJ4qmbeorIT5lfNexiazoYznv33DB4hPJyoQeWg1Ejbbrd1AD3vJRrbo968VCTN6IpTYa+jerH jM8BHkdqphY6sQToNomtGOoG5BVBgNt7aLr3KqyBvCTeuFBAvOWWoqag22yvYhYvQeNCeq1h7jb m99xG3sxU1UtonZjby6l2PkpJHuum87kRVaDvjx6H9/G1zOJrFBF7n4by0UvXbHeL0tWXjpax3R w86XyBgy+oFlgWvIg+PykyAuicqF07+OCJCKQbMOlfn+A== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-onenote-parser-for-clamav): New variable. * gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch * gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch * gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch Add patches here... * gnu/local.mk: ...and here. --- gnu/local.mk | 3 + gnu/packages/crates-io.scm | 27 ++++++ .../rust-onenote-parser-for-clamav-deps.patch | 88 +++++++++++++++++++ ...er-for-clamav-parse-in-memory-buffer.patch | 52 +++++++++++ ...note-parser-for-clamav-property-type.patch | 30 +++++++ 5 files changed, 200 insertions(+) create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch diff --git a/gnu/local.mk b/gnu/local.mk index 6eb01ca466..8bb2b41e2f 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2136,6 +2136,9 @@ dist_patch_DATA = \ %D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch \ %D%/packages/patches/rust-ndarray-0.14-remove-blas-src.patch \ %D%/packages/patches/rust-nettle-disable-vendor.patch \ + %D%/packages/patches/rust-onenote-parser-for-clamav-deps.patch \ + %D%/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch \ + %D%/packages/patches/rust-onenote-parser-for-clamav-property-type.patch \ %D%/packages/patches/rust-poem-1-fewer-deps.patch \ %D%/packages/patches/rust-rspec-1-remove-clippy.patch \ %D%/packages/patches/rust-trash-2-update-windows.patch \ diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2ba9ca3bf0..e7124b088d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49347,6 +49347,33 @@ (define-public rust-onenote-parser-0.3 "This package provides a parser for Microsoft OneNote files.") (license license:mpl2.0))) +(define-public rust-onenote-parser-for-clamav + (package + (inherit rust-onenote-parser-0.3) + (name "rust-onenote-parser-for-clamav") + (source (origin + (inherit (package-source rust-onenote-parser-0.3)) + (patches + (search-patches + "rust-onenote-parser-for-clamav-deps.patch" + "rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch" + "rust-onenote-parser-for-clamav-property-type.patch")) + (snippet #~(begin + (delete-file "Cargo.toml") + (rename-file "Cargo.toml.orig" "Cargo.toml"))))) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-paste" ,rust-paste-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uuid" ,rust-uuid-1) + ("rust-widestring" ,rust-widestring-1)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1)))))) + (define-public rust-onig-6 (package (name "rust-onig") diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch new file mode 100644 index 0000000000..24d5692573 --- /dev/null +++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch @@ -0,0 +1,88 @@ +From f940d8c8fa087554583158d50df071af89c516db Mon Sep 17 00:00:00 2001 +From: Simon Lamon <32477463+silamon@users.noreply.github.com> +Date: Sat, 19 Nov 2022 20:32:07 +0100 +Subject: [PATCH] chore: upgrade dependencies (#9) + +Co-authored-by: Markus Siemens +--- + Cargo.toml.orig | 8 ++++---- + src/errors.rs | 6 +++--- + src/reader.rs | 2 +- + src/utils.rs | 5 ++--- + 4 files changed, 10 insertions(+), 11 deletions(-) + +diff --git a/Cargo.toml.orig b/Cargo.toml.orig +index 9afddd0..e302436 100644 +--- a/Cargo.toml.orig ++++ b/Cargo.toml.orig +@@ -14,15 +14,15 @@ categories = ["parser-implementations"] + backtrace = [] + + [dependencies] +-bytes = "0.5" ++bytes = "1.2.0" + encoding_rs = "0.8.31" + enum-primitive-derive = "0.2.2" +-itertools = "0.9.0" ++itertools = "0.10.3" + num-traits = "0.2" + paste = "1.0" + thiserror = "1.0" +-uuid = "0.8" +-widestring = "0.4.3" ++uuid = "1.1.2" ++widestring = "1.0.2" + + [dev-dependencies] + insta = "1.21.1" +diff --git a/src/errors.rs b/src/errors.rs +index 91477b3..50079a3 100644 +--- a/src/errors.rs ++++ b/src/errors.rs +@@ -51,8 +51,8 @@ impl From for Error { + } + } + +-impl From> for Error { +- fn from(err: widestring::MissingNulError) -> Self { ++impl From for Error { ++ fn from(err: widestring::error::MissingNulTerminator) -> Self { + ErrorKind::from(err).into() + } + } +@@ -128,6 +128,6 @@ pub enum ErrorKind { + #[error("UTF-16 string is missing null terminator: {err}")] + Utf16MissingNull { + #[from] +- err: widestring::MissingNulError, ++ err: widestring::error::MissingNulTerminator, + }, + } +diff --git a/src/reader.rs b/src/reader.rs +index 64730d0..318c280 100644 +--- a/src/reader.rs ++++ b/src/reader.rs +@@ -40,7 +40,7 @@ impl<'a> Reader<'a> { + } + + pub(crate) fn bytes(&self) -> &[u8] { +- self.0.bytes() ++ self.0.chunk() + } + + pub(crate) fn remaining(&self) -> usize { +diff --git a/src/utils.rs b/src/utils.rs +index fd77181..074ff50 100644 +--- a/src/utils.rs ++++ b/src/utils.rs +@@ -12,8 +12,7 @@ impl Utf16ToString for &[u8] { + .map(|v| u16::from_le_bytes([v[0], v[1]])) + .collect(); + +- let value = U16CString::from_vec_with_nul(data)?; +- +- Ok(value.to_string()?) ++ let value = U16CString::from_vec_truncate(data); ++ Ok(value.to_string().unwrap()) + } + } diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch new file mode 100644 index 0000000000..77adc550ca --- /dev/null +++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch @@ -0,0 +1,52 @@ +From 8b450447e58143004b68dd21c11b710fdb79be92 Mon Sep 17 00:00:00 2001 +From: Micah Snyder +Date: Mon, 3 Jul 2023 21:44:57 -0700 +Subject: [PATCH] Add ability to parse section from in memory buffer + +Resolves: https://github.com/msiemens/onenote.rs/issues/12 +--- + src/onenote/mod.rs | 23 ++++++++++++++++++++++- + 1 file changed, 22 insertions(+), 1 deletion(-) + +diff --git a/src/onenote/mod.rs b/src/onenote/mod.rs +index de172c9..8bcb62b 100644 +--- a/src/onenote/mod.rs ++++ b/src/onenote/mod.rs +@@ -6,8 +6,9 @@ use crate::onestore::parse_store; + use crate::reader::Reader; + use std::ffi::OsStr; + use std::fs::File; +-use std::io::{BufReader, Read}; ++use std::io::{BufReader, Read, Cursor}; + use std::path::Path; ++use std::str::FromStr; + + pub(crate) mod content; + pub(crate) mod embedded_file; +@@ -76,6 +77,26 @@ impl Parser { + Ok(Notebook { entries: sections }) + } + ++ /// Parse a OneNote section buffer. ++ /// ++ /// The `data` argument must contain a OneNote section. ++ pub fn parse_section_buffer(&mut self, data: &[u8], file_name: &Path) -> Result
{ ++ let packaging = OneStorePackaging::parse(&mut Reader::new(data))?; ++ let store = parse_store(&packaging)?; ++ ++ if store.schema_guid() != guid!({1F937CB4-B26F-445F-B9F8-17E20160E461}) { ++ return Err(ErrorKind::NotASectionFile { ++ file: file_name.to_string_lossy().into_owned(), ++ } ++ .into()); ++ } ++ ++ section::parse_section( ++ store, ++ file_name.to_string_lossy().into_owned(), ++ ) ++ } ++ + /// Parse a OneNote section file. + /// + /// The `path` argument must point to a `.one` file that contains a diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch new file mode 100644 index 0000000000..ff94fa2630 --- /dev/null +++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch @@ -0,0 +1,30 @@ +From 29c08532252b917543ff268284f926f30876bb79 Mon Sep 17 00:00:00 2001 +From: Matt Jolly +Date: Mon, 24 Jun 2024 17:34:05 +1000 +Subject: [PATCH] PropertType: Specify type for custom discriminant values + +We use custom discriminant values for enum variants for "PropertType" without specifying the type. +This causes it to default to "isize" which on 64bit platforms is big enough to hold the 32bit constants, +but causes overflow when isize is 32bit. + +This issue was uncovered due to build failures on arm for Gentoo Linux as a dependency of ClamAV. + +Bug: https://bugs.gentoo.org/927214 +Signed-off-by: Matt Jolly +Co-authored-by: Steven Newbury +--- + src/one/property/mod.rs | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/one/property/mod.rs b/src/one/property/mod.rs +index 42841c6..fcc0481 100644 +--- a/src/one/property/mod.rs ++++ b/src/one/property/mod.rs +@@ -23,6 +23,7 @@ mod references; + pub(crate) mod simple; + pub(crate) mod time; + ++#[repr(u32)] + #[derive(Debug, Copy, Clone, PartialEq)] + #[allow(dead_code)] + #[allow(clippy::enum_clike_unportable_variant)] From patchwork Tue Nov 5 23:14:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69896 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 B3D9427BBEA; Tue, 5 Nov 2024 23:17:03 +0000 (GMT) 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_DNSWL_BLOCKED, 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 6BB9D27BBE2 for ; Tue, 5 Nov 2024 23:17:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmN-00035w-JZ; Tue, 05 Nov 2024 18:16:07 -0500 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 1t8SmM-00035E-FL for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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 1t8SmK-0002EX-Hg for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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=hX6jNDNDz6xu5RJNheR6n6jQQVI8n/atkvV6F6jK6rQ=; b=LUZ/6xHDk23kgnD6Cc5qBa/oErO6qb29xi0WdLLyW8Difd4aWvZel+UQ9r4b22DAJzDT5RCiuXtB9QIZcilFTd9QQDUSCwBhVeMATOOCUaKWLZZLKPNed2bbXSFUolCBA5C1gLs6pDb2um4XTCTFz+yb1mnnm0IcfYnF7G1OzvoOX2D+/Ot8lBlGjsJu6U3rI3qJjdbvpSiQfjM83flNoQz3qLK6tGKHMHndj8gudjqPM4dNVfAVbzHfFBPrN6iC/KIXDiJEra+idxc2/kGED9odgGki8KOQFJqaRJW/BbtB+7cFnpYOQfBS/MaCNMdaeAt14zBu8ICsWd3inJVf/Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmK-0004LE-DG for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 05/20] gnu: clamav: Add release-monitoring-url property. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084855016599 (code B ref 73896); Tue, 05 Nov 2024 23:16:04 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:50 +0000 Received: from localhost ([127.0.0.1]:38412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sm5-0004Ja-Tc for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:50 -0500 Received: from 10.mo582.mail-out.ovh.net ([87.98.157.236]:48913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sm3-0004JK-NQ for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:48 -0500 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.2.179]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkhy4ZWmz1Qgk for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:15:46 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-8t5z9 (unknown [10.110.113.153]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 71AA21FD54; Tue, 5 Nov 2024 23:15:46 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-5b5ff79f4f-8t5z9 with ESMTPSA id OOqxDyKnKme0XQAAEyoSQg (envelope-from ); Tue, 05 Nov 2024 23:15:46 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R00417f08e10-868b-4ee9-9f3f-6e97bbf6fd48, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:53 +0100 Message-ID: <20241105231519.22378-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12043188354614026978 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeffgeejudeifeehteeuveeuledvgeeijedvjeevheeiheethefgveeuudevvdevieenucffohhmrghinheptghlrghmrghvrdhnvghtpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=hX6jNDNDz6xu5RJNheR6n6jQQVI8n/atkvV6F6jK6rQ=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848546; v=1; b=Ixmg8AVnz4S81aW0KiXv+YZgOV0Rau7vvsgUsqYgD9Uu4iZXwsXAXQTcozyXr91rgCJA4P7F PFgMCyEilAveAandKWwzYu2XCvfNcXRadcbMsVXA8CdbDkoFV96guwiOKgEu627HUltNZ+v6diu XCMOzfI/yMomPMs/fgQAjYZ5NlBbszxID2ZpQrzP0Y9ePjmZgPs0aYeIoclGfulNFCGf3IhBJ2P Q+KyPzDLpoqgCbVcuu7wZ5ZrNO+d/wStIgNW9R0DREzHjUmPJZhFLw1VoL8qATFcVCNERSocGvP I7qSjWumiyG7XTBKhwajXE4JU/4M69+zDmYzM4AgXu68g== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/antivirus.scm (clamav) [source]: Add secondary release URI. [properties]: Add release-monitoring-url. --- gnu/packages/antivirus.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm index d061b18b11..2161d60398 100644 --- a/gnu/packages/antivirus.scm +++ b/gnu/packages/antivirus.scm @@ -48,8 +48,13 @@ (define-public clamav (version "0.103.11") (source (origin (method url-fetch) - (uri (string-append "https://www.clamav.net/downloads/production/" - "clamav-" version ".tar.gz")) + (uri + (list + (string-append "https://www.clamav.net/downloads/production/" + "clamav-" version ".tar.gz") + (string-append "https://github.com/Cisco-Talos/clamav/" + "releases/download/clamav-" version + "/clamav-" version ".tar.gz"))) (sha256 (base32 "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1")) @@ -144,6 +149,8 @@ (define-public clamav flexible and scalable multi-threaded daemon, a command line scanner, and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in the form of a shared library.") + (properties `((release-monitoring-url + . "https://github.com/Cisco-Talos/clamav/releases"))) (license (list license:gpl2+ ;ClamAV itself license:lgpl2.1 ;libclamav/mspack.[ch] license:public-domain ;libclamav/7z/*, libclamav/rijndael.[ch], etc... From patchwork Tue Nov 5 23:14:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69892 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 AAE8427BBEA; Tue, 5 Nov 2024 23:16:44 +0000 (GMT) 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_DNSWL_BLOCKED, 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 6442627BBE2 for ; Tue, 5 Nov 2024 23:16:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmP-00036l-EJ; Tue, 05 Nov 2024 18:16:09 -0500 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 1t8SmM-00035D-Ex for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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 1t8SmL-0002Fv-1p for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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=/Q0deePCOY1xrpPwRwUuQuwnHGBOJB1hVB2SPOwvZQI=; b=cHmkSbqNgUCMK9uh5jptTGrhEydIXCVg1X0pE0JKDP0+1ABrkthXb04tHJI5vWkWQv4OLqCXDbf1BNZHi34nOL8n2t8eX6XO9yzKPQX/49AXpKpn+lNbvzuV3e6RAsEDqbOa/nTgI+oPyUTEXAl9yzRwYL6eS8RGOY1h1s18JtNMwGAdfLxOyPzw+rGB6HXRpmLmK2QNW5YGu1y57eUUZ/8ZF+Zzm8s+ToKmr4dsQBjKoDxGqAdu/nIjb4On5N0eIBoOu+H6I0E0Fh1zhIyN2nVmgYNdlSFa60BZX1RZI1ZRM5gvZeCbHGdEaJ4FISbTKBQncwP47jcB3BLovsPQ8A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmK-0004LL-UD for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 06/20] gnu: clamav: Update to 1.4.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084855616618 (code B ref 73896); Tue, 05 Nov 2024 23:16:04 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:56 +0000 Received: from localhost ([127.0.0.1]:38416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmB-0004Jy-C5 for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:56 -0500 Received: from 1.mo550.mail-out.ovh.net ([178.32.127.22]:44497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sm8-0004Jo-8b for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:15:54 -0500 Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.140.196]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkj23mWNz1PB3 for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:15:50 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-d8ddd (unknown [10.108.54.32]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B18DC1FD77; Tue, 5 Nov 2024 23:15:49 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-5b5ff79f4f-d8ddd with ESMTPSA id 1we4GiWnKmdD+gUADMDNBQ (envelope-from ); Tue, 05 Nov 2024 23:15:49 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G0068c7deaec-e745-4a09-874d-40ea44576569, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:54 +0100 Message-ID: <20241105231519.22378-6-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12044314257680360162 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepudevvdeuieeiiedtkeeghfetffeiiefhleekfeejudetteeukeeigfejvdegiefhnecuffhomhgrihhnpegtlhgrmhgrvhdrnhgvthenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=/Q0deePCOY1xrpPwRwUuQuwnHGBOJB1hVB2SPOwvZQI=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848550; v=1; b=nboMjZK5bhUOGOBN/UBCiFOFwnrgvCETFhEDDxpuAYZALQRWsRaoJwd/IYAHGQHNvxtvQmW4 HiSCJQp6cGJaWOcbzAvE9Aj3Yvr2dZgb3FxuchoNfJWPwHv3haRlVElaOpTXHCCMq5j7fUNDh4P WNX2p/F1D5oMAimWO1DgStKqawTsfAiXA/A3V2ID3mvNpkesiQFNrwiNZOkhAlTOqNUoqeIF/Mp 12XJv0VruQKGtIYX5v7hHZkVR3hpEvoWplAMPgLsWyu2eQ/ONP52Cyf4ms1on3Vw3s0JS/fXVxT FHvtQB47mMSopX/U42mp6LdFVlb85fbDN6RWMGsu5pR5Q== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/antivirus.scm (clamav): Update to 1.4.1. [source]: Adapt source. This currently is not unbundling all cargo vendored packages. [build-system]: Switch to cmake-build-system. [arguments]: Move field up. <#:configure-flags>: Set option. <#:imported-modules>: Set option for patching cargo checksums. <#:phases>: Remove all phases except adapted 'skip-clamd_tests. Add phases 'inject-rust-onenote and 'patch-cargo-checksums. [native-inputs]: Remove autoconf, automake, libtool. Add python-minimal, python-pytest, rust and rust:cargo. [inputs]: Remove libltdl, libmspack, llvm-3.6, cyrus-sasl, tomsfastmath. --- gnu/packages/antivirus.scm | 129 +++++++++++++++---------------------- 1 file changed, 51 insertions(+), 78 deletions(-) diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm index 2161d60398..1a23657a61 100644 --- a/gnu/packages/antivirus.scm +++ b/gnu/packages/antivirus.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Eric Bavier ;;; Copyright © 2018 Christopher Baines ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,24 +21,23 @@ (define-module (gnu packages antivirus) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system cargo) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) #:use-module (gnu packages) - #:use-module (gnu packages autotools) - #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages curl) - #:use-module (gnu packages cyrus-sasl) - #:use-module (gnu packages flex) - #:use-module (gnu packages llvm) - #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages python-check) + #:use-module (gnu packages rust) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages xml)) @@ -45,7 +45,7 @@ (define-module (gnu packages antivirus) (define-public clamav (package (name "clamav") - (version "0.103.11") + (version "1.4.1") (source (origin (method url-fetch) (uri @@ -57,90 +57,63 @@ (define-public clamav "/clamav-" version ".tar.gz"))) (sha256 (base32 - "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1")) + "1n3a87niad76h3mn3qxq9379gppdjqpkhwb9qkbb79irmj0ff653")) (modules '((guix build utils))) (snippet '(begin + (delete-file "Cargo.lock") + (for-each + delete-file + (find-files ".cargo/vendor" ".cargo-checksum\\.json")) (for-each delete-file-recursively '("win32" ; unnecessary - "libclamav/c++/llvm" ; use system llvm - "libclamav/tomsfastmath" ; use system tomsfastmath - "libclamunrar")))) ; non-free license - (patches - (search-patches "clamav-system-tomsfastmath.patch" - "clamav-config-llvm-libs.patch")))) - (build-system gnu-build-system) + "libclamunrar")))))) ; non-free license + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF") + #:imported-modules `((guix build cargo-utils) + ,@%cmake-build-system-modules) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'inject-rust-onenote + (lambda _ + (substitute* "libclamav_rust/Cargo.toml" + (("onenote_parser = .*") + "onenote_parser = \"0.3.1\"\n")))) + (add-after 'patch-source-shebangs 'patch-cargo-checksums + (lambda _ + (use-modules + (srfi srfi-1) (ice-9 ftw) (guix build cargo-utils)) + (with-directory-excursion ".cargo/vendor" + (for-each generate-all-checksums + (delete "." (delete ".." (scandir "."))))))) + (add-after 'unpack 'skip-clamd-tests + ;; XXX: The check?_clamd tests fail inside the build + ;; chroot, but pass outside. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (substitute* "unit_tests/CMakeLists.txt" + (("clamd_test\\.py" test) + (string-append + test " -k \"not test_clamd_08_VirusEvent\""))))))))) (native-inputs - (list autoconf - automake - check ; for tests - libtool - pkg-config)) + (list check ; for tests + pkg-config + python-minimal + python-pytest + rust + (list rust "cargo"))) (inputs (list bzip2 curl json-c - libltdl - libmspack - llvm-3.6 ; requires <3.7, for JIT/verifier - ncurses libressl - pcre2 - cyrus-sasl ; for linking curl with libtool - tomsfastmath libxml2 + ncurses + pcre2 zlib)) - (arguments - (list #:configure-flags - #~(let-syntax ((with (syntax-rules () - ((_ name use) - (string-append "--with-" name "=" - (assoc-ref %build-inputs use)))))) - (list "--disable-unrar" - "--enable-llvm" - "--with-system-llvm" - "--with-system-libmspack" - "--without-included-ltdl" - (with "xml" "libxml2") - (with "openssl" "libressl") - (with "libjson" "json-c") - (with "pcre2" "pcre2") - (with "zlib" "zlib") - (with "libcurl" "curl") - ;; For sanity, specifying --enable-* flags turns - ;; "support unavailable" warnings into errors. - "--enable-bzip2" - "--enable-check" - "--sysconfdir=/etc/clamav" - ;; Default database directory needs to be writeable - "--with-dbdir=/var/db/clamav")) - ;; install sample .conf files to %output/etc rather than /etc/clamav - #:make-flags - #~(list (string-append "sysconfdir=" %output "/etc")) - #:phases - #~(modify-phases %standard-phases - ;; Regenerate configure script. Without this we don't get - ;; the correct value for LLVM linker variables. - (add-after 'unpack 'reconf - (lambda _ (invoke "autoreconf" "-vfi"))) - (add-before 'configure 'patch-llvm-config - (lambda _ - (substitute* '("libclamav/c++/detect.cpp" - "libclamav/c++/ClamBCRTChecks.cpp" - "libclamav/c++/bytecode2llvm.cpp") - (("llvm/Config/config.h") "llvm/Config/llvm-config.h")) - ;; `llvm-config --libfiles` inappropriately lists lib*.a - ;; libraries, rather than the lib*.so's that our llvm - ;; contains. They're used only for listing extra build - ;; dependencies, so ignore them until that's fixed. - (substitute* "libclamav/c++/Makefile.in" - (("@LLVMCONFIG_LIBFILES@") "")))) - (add-before 'check 'skip-clamd-tests - ;; XXX: The check?_clamd tests fail inside the build - ;; chroot, but pass outside. - (lambda _ - (substitute* "unit_tests/Makefile" - (("check2_clamd.sh.*check4_clamd.sh") ""))))))) (home-page "https://www.clamav.net") (synopsis "Antivirus engine") (description From patchwork Tue Nov 5 23:14:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69894 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 4530927BBEA; Tue, 5 Nov 2024 23:16:55 +0000 (GMT) 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_DNSWL_BLOCKED, 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 07D1527BBE2 for ; Tue, 5 Nov 2024 23:16:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmN-000365-Un; Tue, 05 Nov 2024 18:16:07 -0500 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 1t8SmM-00035H-Fw for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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 1t8SmL-0002G1-G4 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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=phcV+O7t8wHaYBJDeLqwb3UgDYEhH1ly2UPru7PvyVM=; b=mYTtxQAwRNXKZaebdfrBEdCbxedcotojygkFQSSRjwX48O6omPOP93KXXHvzfWxwGUpv1kCedn1GIrha9pRRuBar3P7OfuSex6HKMUOCabcrm+S6mU6alYYOXrPY+i4ths1Tbk+0MzpWUb32UDvmwcWi68CYRO/UUTpvm5sYQAEFAZwE7pK8uevZXSrrYszk7MYleT1Q3FTk6tFg278yCtXN0IVogITf6Rkzimr/DCLBGS3RhqYgSS/JTxx28pejC5hJk/e6anTE3J3EHV5w4pNvAkCixJO+EqtbKXElQVV3jHLaN2/ddwRTN8ao0gRmflXNEw+XSbv8uylGpZBMpg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmL-0004LY-BW for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 07/20] gnu: Add rust-hamming-0.1. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084856216657 (code B ref 73896); Tue, 05 Nov 2024 23:16:05 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:02 +0000 Received: from localhost ([127.0.0.1]:38421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmI-0004KV-5G for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:02 -0500 Received: from 7.mo583.mail-out.ovh.net ([178.32.124.100]:58823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmF-0004K8-Ig for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:00 -0500 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.2.97]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjB3cvPz1HcV for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:15:58 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-lqqzh (unknown [10.110.178.46]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 544B51FD54; Tue, 5 Nov 2024 23:15:58 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-lqqzh with ESMTPSA id G23jAC6nKmcjLQAAY2owgw (envelope-from ); Tue, 05 Nov 2024 23:15:58 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G0049c60a64b-69f9-436c-a2c1-e1ffff3ff5ec, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:55 +0100 Message-ID: <20241105231519.22378-7-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12046566053461943010 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=phcV+O7t8wHaYBJDeLqwb3UgDYEhH1ly2UPru7PvyVM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848558; v=1; b=CyYFuZr9w8oJUlFzfB1IbTyrGIYLygWh477PwT6KswSRWD/eGEXC22sO3mtf95dkXC3cj3O4 AHDok/nrt3rnwpAl1hqJSWPi1SCJN+8Ld7R26ItUjl00F6TvZiKlobRMXTqKnZgrY6RZhhhnnfU KL5wwRpyqtzRCgc7Eoqdvor8aNXsIL+Zr2kHjmHr0ERrBNHJ42tukP82UAllBznO5xjPOj4xhp0 kI4wN5JA7rjN1OZVlmm4GclhZQuBGBqt2BzTcJjuP4iYhYY0MdkaHLoPmfXrh5wItT2ov1C/YMy rTZbXZZgdIQgkIQ1H3gkiBWhcO9YxP4d5It95+8FLoRAA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-hamming-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e7124b088d..e551600dc7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31388,6 +31388,30 @@ (define-public rust-hamcrest2-0.3 "This package provides a port of the Hamcrest testing library.") (license (list license:expat license:asl2.0)))) +(define-public rust-hamming-0.1 + (package + (name "rust-hamming") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hamming" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q9hri1l1x1y7vv153kvdw9lkqslmbwgia5r3qj6i39pfji3s135")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.2) + ("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/huonw/hamming") + (synopsis "Count ones fast") + (description + "This package provides a tool to count ones, using rapid popcount +(hamming weight) techniques. This provides a performant popcount and bitwise +hamming distance for a slice of bytes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hash-hasher-2 (package (name "rust-hash-hasher") From patchwork Tue Nov 5 23:14:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69897 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 08F9027BBE9; Tue, 5 Nov 2024 23:17:05 +0000 (GMT) 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_DNSWL_BLOCKED, 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 96CCB27BBE2 for ; Tue, 5 Nov 2024 23:17:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SmR-00037B-Vh; Tue, 05 Nov 2024 18:16:12 -0500 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 1t8SmM-00035i-N2 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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 1t8SmL-0002G7-Td for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 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=ZzFlonmpB9NAsnqeODrnhWwx/5yYuXyyQOwmb9EabQs=; b=m6633rv7Zf/45tNd4XDZWvOXCyT36HEEtMCV5X+kN8s0bJZRYkP9leP9QAFfMSLE+HIWEX9o3oLT3CSfUNCJJU+Y/1HcphkYkXb6w4jVkY8bECMn9xD9ew5Y8QraYxUbVLG8jU2TRg4cjnOg5vQYa5UcOWAB+zZ4BZ5QqX7WTsSeu6GYreYgA+NiOTBdA0YNAzx9Jb+SGR7t8hufW6vysBWvPCsgNTH+CXAoQfYPxPpYZkap0n6BGlwqYmTJwlwMWwG7DCUB8G62Sp994YFdm21rfQkHfeLuhEL0n2EtIixqsDgld0l4gYAl7vklniBWTFbpxmIfgQzRWJUvFupb1w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SmL-0004Lf-Py for guix-patches@gnu.org; Tue, 05 Nov 2024 18:16:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 08/20] gnu: Add rust-primal-bit-0.3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:16:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084856416687 (code B ref 73896); Tue, 05 Nov 2024 23:16:05 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:04 +0000 Received: from localhost ([127.0.0.1]:38427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmJ-0004L1-Np for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:04 -0500 Received: from 7.mo583.mail-out.ovh.net ([178.32.124.100]:52317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmI-0004KP-6D for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:02 -0500 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.2.115]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjF4D0Gz1FDx for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:01 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-n5dl8 (unknown [10.108.54.144]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4D4061FD9F; Tue, 5 Nov 2024 23:16:01 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-5b5ff79f4f-n5dl8 with ESMTPSA id 64tFOzCnKmfvmj4AQqw1xQ (envelope-from ); Tue, 05 Nov 2024 23:16:01 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G001d834b449-a79d-4c8d-af0b-2c2c8fa5794c, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:56 +0100 Message-ID: <20241105231519.22378-8-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12047410481812923106 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=ZzFlonmpB9NAsnqeODrnhWwx/5yYuXyyQOwmb9EabQs=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848561; v=1; b=XpNF6tYa6q/e0n122mxv5981/ueD3/MvqVyUGFP0dRSej29xMNDG9BtuDRUMRJ1OnbbCsX2A 9lHz0X2UkGFyv9SDgJThaX0xQZ0YQTPN2qh25eMy9O+W3kYy/ycemE2IrpgRe2gYzV+06lIfCA8 LKgDTMedjOg7vMhu290LCPRsMyP3wpfoaPWD5n9oNvhjQIs0I9Pz/Gs9M5hOMAoxZchjaudGIqQ /mjUfCqrfVBsznLdjQ2MZotxqQQJV9ECCFesYCJkcCckdGcCmsd63WgmQn71LNmZQXeAdR5fHlW i8Y8XFrt3Dc0b+L37E5Sd8Vm8PU///39hminfM17F32Ww== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-primal-bit-0.3): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e551600dc7..03375f4fe4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56602,6 +56602,27 @@ (define-public rust-prettytable-rs-0.8 formatted tables in terminal.") (license license:bsd-3))) +(define-public rust-primal-bit-0.3 + (package + (name "rust-primal-bit") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-bit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mb0cdxhlm6phhl2f4d7nf7g4yrnd8xdq07m7liw7b5fp3djj915")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-hamming" ,rust-hamming-0.1)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Bit-vector specialised for rust-primal") + (description + "This package provides a bit-vector specialised to the +prime-number-related needs of @code{rust-primal}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-print-bytes-1 (package (name "rust-print-bytes") From patchwork Tue Nov 5 23:14:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69909 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 626C327BBEA; Tue, 5 Nov 2024 23:17:41 +0000 (GMT) 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_DNSWL_BLOCKED, 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 2631E27BBE2 for ; Tue, 5 Nov 2024 23:17:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnM-0003gF-08; Tue, 05 Nov 2024 18:17:08 -0500 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 1t8SnG-0003Ue-2F for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:03 -0500 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 1t8SnF-0002Y2-OO for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:01 -0500 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=EbL/e4mjisU2GASHRk0LHQUNzc0HKW21yjSFMOAKYHo=; b=t52YJpvKrEcVCQSlJQOX9unuytDcved73cgPhCJgSjFoQdDp/ZfmHUqWU2+psdCj5AxoBr0noPx6QupPBTOGkhgM8Wl0rEO3+HN1gxIXtdKaDjL39DzxK07Q16o8RUfT+bPK4BfWmYiOEDu5L5p9ROm9xadkx7qbLkhyDzzhx0fZ4CHFDwF5tbqbkwzyAW53Wx7IQwmC1dO3+y7SfLfhfKqhNJhnklwBOW30J3m098suGGeFd6HRd1+B4oAuDNWOHeDSV4Vq6CeStM9AKb4Ao2oe1Bn0OdIf+7oHzUrVOifsuFq5JHW6L/x3tmENz7TRsqPTLRRvXK2rrhYajTSE7Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnF-0004Q2-Ir for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 09/20] gnu: Add rust-primal-check-0.3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084856616741 (code B ref 73896); Tue, 05 Nov 2024 23:17:01 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:06 +0000 Received: from localhost ([127.0.0.1]:38436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmM-0004Lm-38 for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:06 -0500 Received: from 4.mo581.mail-out.ovh.net ([178.32.122.254]:45781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmJ-0004Kr-Tb for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:04 -0500 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.2.97]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjG59jXz1MHJ for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:02 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-lc2ks (unknown [10.110.164.150]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 608D21FE7C; Tue, 5 Nov 2024 23:16:02 +0000 (UTC) Received: from ngraves.fr ([37.59.142.100]) by ghost-submission-5b5ff79f4f-lc2ks with ESMTPSA id Ha6oNjGnKmciigIAFhrSYw (envelope-from ); Tue, 05 Nov 2024 23:16:02 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-100R003adbe43c7-28e0-47f9-aece-2c7ab4f55bb6, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:57 +0100 Message-ID: <20241105231519.22378-9-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12047691954438857442 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedumgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=EbL/e4mjisU2GASHRk0LHQUNzc0HKW21yjSFMOAKYHo=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848562; v=1; b=z+nWGl9BMK09AXAnD6B40gy9juSJyiT75HmtOcvTwfxRWOufSgm/PH65nbljRcXQllFrlH5p nvd4M6jAtdbeeDbrQVl0ACzv0sAKE2GDNwU7WhDj/EDVzW4jdiKP5rGGK1uBDBZfTkjP14K80Ml OeOfPxWGzzeHgnPpuUYVNwMkwXJ8z5Vb5nc/+ILbD0nxBVxSA6BwHPvEeVxcwSZI5/1h3O9BmjH bn8FGPM30OXuXYSC6vidAIW2WxCwczTk+iDkVowO0ejXqLKj6zkhNcsVi28zy6liKe8IFAcrN4F K+IUQsKVHxR/H9p3BqryEbR7ol1tIJtnNWBiF8KcCAeyQ== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-primal-check-0.3): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 03375f4fe4..a025472d5e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56623,6 +56623,28 @@ (define-public rust-primal-bit-0.3 prime-number-related needs of @code{rust-primal}.") (license (list license:expat license:asl2.0)))) +(define-public rust-primal-check-0.3 + (package + (name "rust-primal-check") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-check" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "025xnak4rhkwa4h970bjb3cvp2k853wviyr84n8gjfhy65dqj3fw")))) + (build-system cargo-build-system) + ;; Circular development input rust-primal + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-num-integer" ,rust-num-integer-0.1)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Test primality") + (description + "This package provides a standalone primality testing tool.") + (license (list license:expat license:asl2.0)))) + (define-public rust-print-bytes-1 (package (name "rust-print-bytes") From patchwork Tue Nov 5 23:14:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69903 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 6F8F027BBEA; Tue, 5 Nov 2024 23:17:24 +0000 (GMT) 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_DNSWL_BLOCKED, 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 24BA927BBE2 for ; Tue, 5 Nov 2024 23:17:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnN-0003jd-CZ; Tue, 05 Nov 2024 18:17:09 -0500 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 1t8SnG-0003Uf-G7 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:03 -0500 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 1t8SnG-0002Y9-7K for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:02 -0500 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=ruedwbCnl5mF5Uh+AxFcKNLnwRS6fYMWYwzk1cA9JoM=; b=qeoAMoHgqWplkIMlkFrAdn+PatmScRWWwafJrpBdF0bNJBMulDlRIcT0bPG6+XvjrjhTnmertCV+FWkcAnpN7NuSYugzMth6ecW+dzrDaBIBt7+7ihsGFvO/JvjRax/5hKTWvd+k3knHxoKlcHLldpuuCoF7doy2Vu8c2lHOFmrAC6nzr6dEC9F9I4X0L/RVGqP9zbQSaLPyiLq+CcJCR0ADCP8sLT9QwEjindqoGhUbh/L8QyGBWVpu8g11E9+jqcGzAuCFbAQAieh/q6G2CIz9YyxpdhFpwATItDxr745SbS2YFBcMutXGqVqlxOzfGHX/g85YFChsxgSYfcw/Kg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnG-0004QA-2Y for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 10/20] gnu: Add rust-primal-estimate-0.3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084857116758 (code B ref 73896); Tue, 05 Nov 2024 23:17:02 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:11 +0000 Received: from localhost ([127.0.0.1]:38440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmQ-0004MD-H3 for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:10 -0500 Received: from 6.mo576.mail-out.ovh.net ([46.105.50.107]:48525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmO-0004M4-83 for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:09 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.139.157]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjM177Yz1vfJ for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:07 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-nzvct (unknown [10.110.118.5]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id EF9201FE90; Tue, 5 Nov 2024 23:16:06 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-5b5ff79f4f-nzvct with ESMTPSA id rk+nNDanKmcaRQIAD1ahAA (envelope-from ); Tue, 05 Nov 2024 23:16:06 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R00455b9fbd3-1a62-4e44-b347-423bdd51db05, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:58 +0100 Message-ID: <20241105231519.22378-10-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12049099331376243426 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeimgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=ruedwbCnl5mF5Uh+AxFcKNLnwRS6fYMWYwzk1cA9JoM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848567; v=1; b=nK/mFW33diyB1HPWCCGcBwf0DchXdRoVM64n9cLWcc/MY7PdM6ehV1o7SoAxewdcHWSL4yPW Mw+owfLgDeZfAs0om/sPx2Y6lQ4pAYnrcTjedhYCWkgLEDnLkfxVmjPsckEXMbtNaREEiOBgCmq yt1AnKUDCpQHEB/Au2WgJbSdHNXJDrJIwMwrYHt0AfWsyK7Lx5o7kPgzV2cRMqy7laZpVIR2wyO 1f4zxC8lzgLb7pjIOkxmLcXGOtKdbmzZBLRDq3U6t4B+iQK/2AB8xV0D4MFzWz7pOh6owDE6QRA IA8eIRMA7Z0JOO3xgB4t3cditNhu6skSEJWxomMA6gdXw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-primal-estimate-0.3): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a025472d5e..eb26506de7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56645,6 +56645,28 @@ (define-public rust-primal-check-0.3 "This package provides a standalone primality testing tool.") (license (list license:expat license:asl2.0)))) +(define-public rust-primal-estimate-0.3 + (package + (name "rust-primal-estimate") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-estimate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08nq0n0r35rni65h79fynync0wyy8agrxy5mfmg0hq9s1c510cm4")))) + (build-system cargo-build-system) + ;; Circular development input rust-primal + (arguments + `(#:skip-build? #t)) + (home-page "https://github.com/huonw/primal") + (synopsis "Estimate upper and lower bounds for the k-th prime") + (description + "This package provides a state-of-the-art estimation of upper and lower +bounds for the number of primes below n and the k-th prime.") + (license (list license:expat license:asl2.0)))) + (define-public rust-print-bytes-1 (package (name "rust-print-bytes") From patchwork Tue Nov 5 23:14:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69899 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 D055D27BBEA; Tue, 5 Nov 2024 23:17:14 +0000 (GMT) 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_DNSWL_BLOCKED, 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 955CF27BBE2 for ; Tue, 5 Nov 2024 23:17:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnL-0003e6-Ud; Tue, 05 Nov 2024 18:17:07 -0500 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 1t8SnH-0003VM-4t for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:03 -0500 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 1t8SnG-0002YG-Nj for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:02 -0500 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=aX7KishTov6GDMbaTAKlOVRSpC4xVz5Rg4ZaH8A7fC0=; b=GvdgcWf1v3EBpuMv4dLsfjAa3/5CwDq5xwIFmbwIKvsSr8fGd7ImOedqGiOdmp6dEROmtRC+T81ar2bfbm74sLoN4og6w1CeNRDuqMxQoDBtre1KLPy5msBmFGWld+8ZsUpmA7B581UEaOr0Ke2oNIFMtVVc5zKj90DaoyMAOJUug7sUAuArhS70qt6h0x3CAq1YgtOO3fWWrcb6qQEWq5qN5GzcU6CHjZPZHK4erZDUPrFX4V6B4J6jgNx7UwlehXqkZ20iAWioro7foFu+9lJa4xR1vBTJXG2ot6NgBgasUkKa+fNo4lQ1bxHnQjm95w4uOgr+eTLfKhVXVKa4sg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnG-0004QH-IG for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 11/20] gnu: Add rust-primal-sieve-0.3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084858016797 (code B ref 73896); Tue, 05 Nov 2024 23:17:02 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:20 +0000 Received: from localhost ([127.0.0.1]:38449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sma-0004Mp-Db for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:20 -0500 Received: from 6.mo575.mail-out.ovh.net ([46.105.63.100]:33295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8SmX-0004MY-EY for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:18 -0500 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.139.157]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjX2v25z1n4F for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:16 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-2dsqj (unknown [10.110.164.45]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2E7881FDC7; Tue, 5 Nov 2024 23:16:16 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-2dsqj with ESMTPSA id hU2sMj+nKmdDtT4AVLPGQw (envelope-from ); Tue, 05 Nov 2024 23:16:16 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G004bcb68a8c-ed14-49a4-ba55-c1f526452ece, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:14:59 +0100 Message-ID: <20241105231519.22378-11-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12051632607027978978 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=aX7KishTov6GDMbaTAKlOVRSpC4xVz5Rg4ZaH8A7fC0=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848576; v=1; b=pL0NH0yYYvwSJAYOW3d0Pm1PRpdLyijYKCz6shHl8ESsi7wdBy5Pdv218e/urTYvod6L5h4q 8zWqRKLb81qUwkxnQlda3vEeik8YXUIcVvpm8Z0PJ/nj3khu+ugbS2atDldzB8y5mJsAmw8Wxjl UB2jHK3URuZDAxdO19fBRqkveiLtRiczNlUqj6Fg1Tr+lCvANFycVal99Ea8r2WTvki1Lia6R86 GWewkUTgY94etg9zLERuwiflWoSkiaLynGylh2epGLtBDc/lY0gI4CHNj+Pc79ZCo7DBDePYD16 lsogreDfKT6sy73ZBeC1OsuBND2mz91CQQAJ3twK4LRQQ== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-primal-sieve-0.3): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eb26506de7..40681cee8a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56667,6 +56667,29 @@ (define-public rust-primal-estimate-0.3 bounds for the number of primes below n and the k-th prime.") (license (list license:expat license:asl2.0)))) +(define-public rust-primal-sieve-0.3 + (package + (name "rust-primal-sieve") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-sieve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lzdllk78jqdp93h15l69s4xglbjcf6jlq6khccka0r2v2b2g64f")))) + (build-system cargo-build-system) + (arguments + ;; Circular development input rust-primal + `(#:skip-build? #t + #:cargo-inputs (("rust-primal-bit" ,rust-primal-bit-0.3) + ("rust-primal-estimate" ,rust-primal-estimate-0.3) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Prime sieve") + (description "This package provides a high performance prime sieve.") + (license (list license:expat license:asl2.0)))) + (define-public rust-print-bytes-1 (package (name "rust-print-bytes") From patchwork Tue Nov 5 23:15:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69908 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 6CFF827BBEA; Tue, 5 Nov 2024 23:17:37 +0000 (GMT) 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_DNSWL_BLOCKED, 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 2262027BBE2 for ; Tue, 5 Nov 2024 23:17:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnM-0003i2-LK; Tue, 05 Nov 2024 18:17:09 -0500 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 1t8SnH-0003W4-Eb for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:03 -0500 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 1t8SnH-0002Yo-5o for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:03 -0500 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=jl7cRXzvZi2vB98Pi7iY7CfHDfS6duNNqTRmZxakwP0=; b=JmX0mspOUH0lhAHchHa1zLRHZDrKr9iv5FBmxgClzRgOyAQmP7X/TIBP+CTr24yDS/YBf2X8vSHD65NOAwA/A5IU65ZVMaJm2go1Ia6i3r7ssfkd/+kxyuOsMCHERNHI75qIEYlsy8trsMRDeDUOp4u7E4FAq+2E0a7OHsePKqE1H2esrDNOdPspnXZTH6WkG99J1BshYWWjSBOxj1VzEGY1aZ9NEU1cmoS2Jrm7qjNjlFWH7UM10CQL3l5Hh0oTlrjRsmrZkQvxWZ1Pzar46ylmY3Ce/p9vUz4OxzF6/kc/aYAajHNRN8oha+6L1jPyipTNJe3FJ2ZhHo7Vo2i+iw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnH-0004QO-0o for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 12/20] gnu: Add rust-primal-slowsieve-0.3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084858316825 (code B ref 73896); Tue, 05 Nov 2024 23:17:02 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:23 +0000 Received: from localhost ([127.0.0.1]:38458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smc-0004N7-Ow for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:23 -0500 Received: from 8.mo560.mail-out.ovh.net ([188.165.52.147]:36603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sma-0004Mn-FK for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:21 -0500 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.2.21]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjb5gQfz1dyG for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:19 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-5pt2d (unknown [10.111.174.164]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 8756F1FD72; Tue, 5 Nov 2024 23:16:19 +0000 (UTC) Received: from ngraves.fr ([37.59.142.110]) by ghost-submission-5b5ff79f4f-5pt2d with ESMTPSA id 9LrrCUOnKmcAVgIARTw1CA (envelope-from ); Tue, 05 Nov 2024 23:16:19 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-110S004b4097496-138f-4a46-bd54-caee6dd017e3, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:00 +0100 Message-ID: <20241105231519.22378-12-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12052477031921017570 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=jl7cRXzvZi2vB98Pi7iY7CfHDfS6duNNqTRmZxakwP0=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848579; v=1; b=D+N2ocEO4WuU+/XxkRqlU4QSCTaVEj5a+Qz+VZpiWrMTANITHGfI9EKrOi7p9vcDbLcH6Xyk O+Qne466jsGj9mfl95YxvwVMZzNHJjI6/4niteqauzhvkUX4Dz+T6MnpW3Pxvi5CrEy3zvdStjH yHZ/oDmqkomFNUaArLGwVunhr60JuISIAkQUsfduTe6htTAq5C+Xu0FEYAMn7wySBFFRzttwzVJ 2991uPhQDU8uaxstE8SL61DRl7vM3a1CRAL4GyWMxQJBVi/O3El67XfENWnNQQJOEhCO13+gKVZ Cidt2Z6XvmmbvcjdjMRN5bSgekruOp5nOa8WEktfbGttA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-primal-slowsieve-0.3): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 40681cee8a..8bab66850e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56690,6 +56690,30 @@ (define-public rust-primal-sieve-0.3 (description "This package provides a high performance prime sieve.") (license (list license:expat license:asl2.0)))) +(define-public rust-primal-slowsieve-0.3 + (package + (name "rust-primal-slowsieve") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-slowsieve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02pixp7xprkmj0fvjgg6n4dn5f8syr6xj2m2dxn0nyg06b8lipy9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-primal-bit" ,rust-primal-bit-0.3) + ("rust-primal-estimate" ,rust-primal-estimate-0.3)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Simple sieve of Eratosthenes") + (description + "This package provides a simple sieve of Eratosthenes designed for +testing faster sieves. For use in Rust crates, use @code{rust-primal-sieve} +or @code{rust-primal} instead.") + (license (list license:expat license:asl2.0)))) + (define-public rust-print-bytes-1 (package (name "rust-print-bytes") From patchwork Tue Nov 5 23:15:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69898 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 EE66A27BBE2; Tue, 5 Nov 2024 23:17:13 +0000 (GMT) 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_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 9FB5927BBE9 for ; Tue, 5 Nov 2024 23:17:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnN-0003j0-81; Tue, 05 Nov 2024 18:17:09 -0500 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 1t8SnI-0003Zh-6X for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:04 -0500 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 1t8SnH-0002Z4-TA for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:03 -0500 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=kvTDU/JU3yvEEL4Wq3wOC2LEtQq9pcR0n5fsUbGBFHo=; b=q97n/u2YLBmBhvP0arspNZgVWlzArbO7ppJwu6+X6SbXf/ItGo9r9HEpcRDcjB9hMX3eCNn+PAS5a8bOa6DmA8q94+/aryPVKnSEyOT5W6IpyTA4F9smVMLhFc9GrpcZ23nKmxbYSirc1SgD9TbbwZHmpJ6EQT61Wzw41L5C+P/4U5GcleuiJ8jn3vjssgNUBFV39XlgfCBzpeTBi/V1TGqx2bJKUHL3LHdxHFIjfAXkXzEMW0q4hV0AHIjXu0uPGZ//Su5okhM0hY6k3+j50S0KNJfUoOsDXcF7KyjI6RYuGD1RFq+TIllVJr91aLW53kGb/aIzkdnoNXBw6FxD4g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnH-0004Qa-ND for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 13/20] gnu: Add rust-primal-0.3. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084858516837 (code B ref 73896); Tue, 05 Nov 2024 23:17:03 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:25 +0000 Received: from localhost ([127.0.0.1]:38460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sme-0004NS-GY for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:24 -0500 Received: from 5.mo583.mail-out.ovh.net ([87.98.173.103]:40985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smb-0004Mz-Rb for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:22 -0500 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.25.249]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjc5Ty9z1QBV for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:20 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-td768 (unknown [10.108.42.198]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 89DB01FE82; Tue, 5 Nov 2024 23:16:20 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-5b5ff79f4f-td768 with ESMTPSA id LOWQEESnKmfQRQIA9/SAqQ (envelope-from ); Tue, 05 Nov 2024 23:16:20 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G002a366ea51-633b-4d8c-9120-f32f517bd084, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:01 +0100 Message-ID: <20241105231519.22378-13-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12052758506750272226 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=kvTDU/JU3yvEEL4Wq3wOC2LEtQq9pcR0n5fsUbGBFHo=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848580; v=1; b=H60tTJy84yDcTefbhRoiWzfSix+SiqY8UcgUoZJ8L9w9gnoNg6d1ls4innNbxpusZIzKo6m8 nDjnJFgeMAz3a2AQZJl9bpWKSfEeXTGR5opXOpDne6Nh2CPw7P4lSu9dXRIcKer5JFUBk4OAP5U lAPAW5kSz52xTk2hD8mshjV4WRURH86bhGlf9zM2PRmmzVVDHxWijEBkcAXHEQFWYM1ytmb/GTA PhcFfLRkHygnEzHDn5Ri0zgs3xAgfegjQpFV0Zu5moVR027tnKlNYwLMBLghVI7sGMC+B8iixs4 Fr5p6FMMGGzb9Mh8eCekB3WtizIMA20G6QiBXXFkuq7BA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-primal-0.3): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8bab66850e..4cb6de28b3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56602,6 +56602,33 @@ (define-public rust-prettytable-rs-0.8 formatted tables in terminal.") (license license:bsd-3))) +(define-public rust-primal-0.3 + (package + (name "rust-primal") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s6n396cssbr86f9w31sppdf06xsymgrl7y9gw0yccl5jiag7rdi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-primal-check" ,rust-primal-check-0.3) + ("rust-primal-estimate" ,rust-primal-estimate-0.3) + ("rust-primal-sieve" ,rust-primal-sieve-0.3)) + #:cargo-development-inputs + (("rust-primal-slowsieve" ,rust-primal-slowsieve-0.3)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Various tools for prime numbers") + (description + "This package provides various tools to work with prime numbers. It +includes: optimised prime sieves, checking for primality, enumerating primes, +factorising numbers, and state-of-the-art estimation of upper and lower bounds +for the number of primes below n and the k-th prime.") + (license (list license:expat license:asl2.0)))) + (define-public rust-primal-bit-0.3 (package (name "rust-primal-bit") From patchwork Tue Nov 5 23:15:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69902 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 A79C427BBEA; Tue, 5 Nov 2024 23:17:23 +0000 (GMT) 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_DNSWL_BLOCKED, 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 6F93727BBE2 for ; Tue, 5 Nov 2024 23:17:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnO-0003kv-42; Tue, 05 Nov 2024 18:17:10 -0500 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 1t8SnI-0003Zz-Ms for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 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 1t8SnI-0002Zg-EP for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:04 -0500 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=ZX+9O9fc2m9CV1IQ9WS5qu/XH+0rpF4bKdK6BpNW3sw=; b=joZwM/l6YetpbK7HYrANACAsNP3hMuOLJUzGTzOuSKKN4QB98M5zHP6LlqSx6xRvXNbVEIMGpSJC8JvWIlRDUUI3UaEfXifTFW4CXsrj9ycgLg/2iykRWBBkW31Da7TYjTz0F150Wf1w3AG/NqeYqAMhv8+/c60ktT2pvCL11Vb1DrjvrGX9Kar0s/zXBmJIMnoSXqgh6q18oZcmARG3W0S8TcpGeqf2OZQaGhxSg/XxwbU5S8AczzyL4xy+i7F4Lqov0f89OPz5uB4vbTDmOs++LfCECe2o1aN4VQWms7SAQfg4EkYm6+EfX+CNOxEf0ldUOEiaPe+k8yvgrp74Vw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnI-0004Qh-8z for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 14/20] gnu: rust-crc-any-2: Update to 2.5.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084858516849 (code B ref 73896); Tue, 05 Nov 2024 23:17:04 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:25 +0000 Received: from localhost ([127.0.0.1]:38462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sme-0004NW-UE for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:25 -0500 Received: from 7.mo575.mail-out.ovh.net ([46.105.63.230]:55625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smc-0004N5-8o for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:23 -0500 Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.2.21]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjd1w3fz1mx1 for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:21 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-8vgbb (unknown [10.110.101.176]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1F8A71FDD5; Tue, 5 Nov 2024 23:16:21 +0000 (UTC) Received: from ngraves.fr ([37.59.142.96]) by ghost-submission-5b5ff79f4f-8vgbb with ESMTPSA id n1u0AEWnKmeFdg0APNfTyw (envelope-from ); Tue, 05 Nov 2024 23:16:21 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-96R001a1ff7397-182e-403e-91d5-77bec6633ec8, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:02 +0100 Message-ID: <20241105231519.22378-14-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12053039978993017570 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=ZX+9O9fc2m9CV1IQ9WS5qu/XH+0rpF4bKdK6BpNW3sw=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848581; v=1; b=uBnnwZGJJ5/O9whvGe84oP+9QRL5tN2wBCHPKCmgVvDi6bro+vpr7LSsJPhiGDqEjfZi/evE tdDw7AOeMKKgUdc/eqNFF0oRnSetq2NzJ2tWSOqoQ4Xp75BRg9wHcAsjwHQOKi5S7A8Ms9seLXe Y6VfqbGpACKL/q+DIgQKQgrSAlKBjsWJe6tGJJrZ1Q8Mt37I6Wt3a0Rd6EsIekP8ZlCJa15x5kl AyJDhIkcou3YzWOCkC3/YhY9IELShSSVoXs/FNUBKoYV+lM2BlUC6ZqUo6tqfB0cJlYPKoN49pH impPdywanKg67pr08bcJySnEFVuIqwszhQH/gZKERHxmg== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-crc-any-2): Update to 2.5.0. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4cb6de28b3..bc585b20a5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16925,7 +16925,7 @@ (define-public rust-crc-1 (define-public rust-crc-any-2 (package (name "rust-crc-any") - (version "2.3.12") + (version "2.5.0") (source (origin (method url-fetch) @@ -16933,7 +16933,7 @@ (define-public rust-crc-any-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fq85y5akcadahnj5nqbs47qhgp5cpfn2z19zc3gp4wpxr3989kr")))) + (base32 "0wzs26q5cf29fhfnrkrjsr8dpai0rlm4im8b53by8rbrbzzwjbm6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs From patchwork Tue Nov 5 23:15:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69900 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 DAB6E27BBEA; Tue, 5 Nov 2024 23:17:18 +0000 (GMT) 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_DNSWL_BLOCKED, 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 99A5527BBE2 for ; Tue, 5 Nov 2024 23:17:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnM-0003hx-K3; Tue, 05 Nov 2024 18:17:08 -0500 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 1t8SnK-0003aX-Dt for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 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 1t8SnI-0002Zo-T8 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:05 -0500 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=wT2rTASyt3245dxXYooUiteAfWLyme9QL8PFzIBWZhw=; b=l4N49wzDHlgW50PobB+6K38kId3gJiGG9s+nV9FTblqJxha1KeeZH4QWtsG/eWHNq3JssveShu8rEnkzzYKQeEWt37ip4NPGDOKRCFxF+llXDCvSNp88oDTzde0BmEFWdV/LuFrgOYMQf8mZaUTixIpZcFKUrE9BpRghjirQAM01CY+B8z00dQz7RrAxfSsXWErFMNqLqSN8LNqY41gvCz8flduxGxxWVDErm1ORu7a26reLbMuouhB872lqdkcDDUxl7/Qwvo/vwV9cqc6I41b48EsxTbV9RZySDNT9kpAX9p+8ZsWRuVKb20xg3CIWDmrbXLmWlHMtfWQ9u40KLA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnI-0004Qq-Oo for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 15/20] gnu: Add rust-delharc-0.6. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084859016880 (code B ref 73896); Tue, 05 Nov 2024 23:17:04 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:30 +0000 Received: from localhost ([127.0.0.1]:38468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smj-0004OA-Ba for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:29 -0500 Received: from 6.mo561.mail-out.ovh.net ([188.165.43.173]:47989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sme-0004NR-OS for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:25 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.25.249]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjh0g9Wz1LZK for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:24 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-dbhvn (unknown [10.110.168.179]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D4D3E1FEAA; Tue, 5 Nov 2024 23:16:23 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-dbhvn with ESMTPSA id Q+IvIkenKmenXgAAYaY34w (envelope-from ); Tue, 05 Nov 2024 23:16:23 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G00424f7e6e8-5dec-4185-b811-c189caacf98a, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:03 +0100 Message-ID: <20241105231519.22378-15-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12053884404350640866 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedumgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=wT2rTASyt3245dxXYooUiteAfWLyme9QL8PFzIBWZhw=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848584; v=1; b=ngxNFtklCsYFhpHWSwYEh3F73k/Sk7j5tuzoHs/Le+ef0efagmdePmtm03C3XRZ3XeXNbg2W E2mF5qRQdGhgpbFO0EW2VGmMpcOj2dhFkIaRSgv9+BFRQYqM5Rm03fpxWk1zoYpF3m3dQj1NxSq JmpS2H2FB9mnJbX2Q3NazT4+3IvsiEQiUsbg3MUGYAssH6VhowYDT2Ouo06M7Wz7CAxdcIL3wel MsWhKznBc9JO8rwD4Vr+tTP9fuqlFOrvbfTTnvwyPtVnw1ahM5jymAw8qV4F8cdMrU463o1WoF/ Uf8KeF2aMccVlUhOWex2H1hinq8gtlx0FeBwxQDQBLHmA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-delharc-0.6): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bc585b20a5..95d29aff87 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20408,6 +20408,33 @@ (define-public rust-dejavu-2 "This package provides the @code{DejaVu} font family for embedding.") (license (list license:expat license:asl2.0)))) +(define-public rust-delharc-0.6 + (package + (name "rust-delharc") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "delharc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18g5haj6bj92azif4jifhdy9vrv6blg3wyvpmxslh2gm2wkbm4qw")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Missing files + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-memchr" ,rust-memchr-2)) + #:cargo-development-inputs (("rust-crc-any" ,rust-crc-any-2) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/royaltm/rust-delharc") + (synopsis + "Parse and extract files from LHA/LZH archives.") + (description + "This package provides a Rust library for parsing and extracting files +from LHA/LZH archives, which are often suffixed @code{.lha} or @code{.lzh}. ") + (license (list license:expat license:asl2.0)))) + (define-public rust-demo-hack-0.0 (package (name "rust-demo-hack") From patchwork Tue Nov 5 23:15:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69904 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 AC82A27BBEC; Tue, 5 Nov 2024 23:17:26 +0000 (GMT) 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_DNSWL_BLOCKED, 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 62B5227BBE2 for ; Tue, 5 Nov 2024 23:17:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnP-0003mD-Ee; Tue, 05 Nov 2024 18:17:11 -0500 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 1t8SnK-0003aW-Dg for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 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 1t8SnJ-0002Zs-De for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 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=pT1SuVQjATxCoRlnsh6avOrcqjRDPvOT3IcLPQq8FwM=; b=WC0ZEgodwouVQ6W9cNKWZlZLzSZX64QVcdwQK3xKYXTDbHb0dN0HQdmzUzG/VC6CdZgGKcMFRoD46qaIUQIgdjVwgVx1+NpZ/SfFJelgLf4D7pAx1YdZLX9UGyfOwuSRnqsm7HX39zD3LXckcgrI9Rt9adbBtMAJ/D/Odf1r/EUBFU5dS8p4hM9mAcaPpOPYmMhU1ogxMkETjGlGRz+gNvoC2TRdktC83WpV6+SjrvtUROI6E8lnItAvouM7bBveXje5LJdw/+0/iJVbPKPuiHcMR93NvQbo8XLMdAkm3s9PoI1QYJ/joJkbHeZNHk3DOsTPAesnSSUwzrt/tfwvew==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnJ-0004Qx-8l for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 16/20] gnu: Add rust-transpose-0.2. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084859016886 (code B ref 73896); Tue, 05 Nov 2024 23:17:05 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:30 +0000 Received: from localhost ([127.0.0.1]:38470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smj-0004OD-Sc for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:30 -0500 Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]:46547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smf-0004Nn-Ll for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:26 -0500 Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.140.73]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjj0S2Mz1vdq for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:25 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-q8fbt (unknown [10.108.54.28]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B9C761FD20; Tue, 5 Nov 2024 23:16:24 +0000 (UTC) Received: from ngraves.fr ([37.59.142.96]) by ghost-submission-5b5ff79f4f-q8fbt with ESMTPSA id xkdBHEinKme9IQAA/DnL+w (envelope-from ); Tue, 05 Nov 2024 23:16:24 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-96R00136a46a2b-0da1-400a-9268-774626c2edbd, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:04 +0100 Message-ID: <20241105231519.22378-16-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12054165880559690466 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelieenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=pT1SuVQjATxCoRlnsh6avOrcqjRDPvOT3IcLPQq8FwM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848585; v=1; b=B4JB7RnXS01Sb51yMiazXxzHc6kW/Dr3Ent/7uTQsF4L7+kLcW0NVcITqD29TYV4RwycDbLi GVo6vBEhkK668C2UQsbUWl0zz3f2BrzRWUv8MFz+W+fGL3b8e0DJ99dQdwf4KlwdsDb2v2krCxb faZYIRuODQkVxHK3fB6pc0FBPZd8y2GRouMYXE4OTkvX34C8oeWca3+3Zoc8wdFV8mroe3DtPxN b3yv0ysjVTyMnRaCC4l0sVeJuofP5t0vDjobSDpRMJkJCdJGkjqM18HKqRz2wZ2aJGzprN58wjC scLlPzmsEcYvfQ88J6MVWeM6BdfAW6CB1op2/VQYKgBIg== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-transpose-0.2): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 95d29aff87..e3a8609e4f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -85039,6 +85039,27 @@ (define-public rust-traitobject-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-transpose-0.2 + (package + (name "rust-transpose") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "transpose" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zp74v7jrjg4jr654dncdj6hqvacicsywyhc62jawgxwhvnimmhs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-integer" ,rust-num-integer-0.1) + ("rust-strength-reduce" ,rust-strength-reduce-0.2)))) + (home-page "https://github.com/ejmahler/transpose") + (synopsis "Utility for transposing multi-dimensional data") + (description + "This package provides utilities for transposing multi-dimensional data.") + (license (list license:expat license:asl2.0)))) + (define-public rust-trash-3 (package (name "rust-trash") From patchwork Tue Nov 5 23:15:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69907 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 8095427BBEA; Tue, 5 Nov 2024 23:17:31 +0000 (GMT) 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_DNSWL_BLOCKED, 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 443C527BBE2 for ; Tue, 5 Nov 2024 23:17:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnP-0003ml-Ms; Tue, 05 Nov 2024 18:17:11 -0500 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 1t8SnK-0003aY-Eo for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 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 1t8SnJ-0002Zt-UP for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 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=MHK5S+wF846S8dYwkd7NyT4jcPD4VJSUP/HLs2BoaBI=; b=gtBGcznjD6xTi0kC96auopnXXL3hsbSDHClA3OBNtgvQhCMGpnTVXQoGJkfKEjctga/pUGxSAauX/YiAxmDey3SWut1x0w9/HSVETa1VXjY+I1md24ldPS0BPPWpTEiZ4W/V0AP6ccFPf2ndldaZ7CBfqag43XkcM1V6EA+nbn9J3VttuNjn5hKbMFftJQwLo/5cgrNny970YIMVsTfh3ALyAVONPGGvvKap8JypzE/FmzOrgHJss4hwY+CS7jPCXeLzNrikMi4vUc7bOoNs6bLkZyT65uA9eDox9UKa7SLSTCfkIwxLTgMOa1yfmTaPTu7o6VY7DvY6NZ2pM1kSZw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnJ-0004R5-Ps for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 17/20] gnu: rust-strength-reduce-0.2: Update to 0.2.4. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084860116910 (code B ref 73896); Tue, 05 Nov 2024 23:17:05 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:41 +0000 Received: from localhost ([127.0.0.1]:38474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smv-0004Og-9X for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:41 -0500 Received: from 17.mo561.mail-out.ovh.net ([87.98.178.58]:59327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smt-0004OW-8N for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:40 -0500 Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.17.160]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjy1kDwz1RlL for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:38 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-m6jpx (unknown [10.111.174.161]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id BD0A01FD4D; Tue, 5 Nov 2024 23:16:37 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-5b5ff79f4f-m6jpx with ESMTPSA id NgDfFFWnKmckpj4Ag9Vu6w (envelope-from ); Tue, 05 Nov 2024 23:16:37 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S0028ee71bbb-6965-498d-940e-a581166a4ccb, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:05 +0100 Message-ID: <20241105231519.22378-17-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12057825053587333858 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedumgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=MHK5S+wF846S8dYwkd7NyT4jcPD4VJSUP/HLs2BoaBI=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848598; v=1; b=Y3qD71t2rJ47Oq4kfAHym2DPyf1EqHJy/OdlERY8dIOzfki8pUjU6oZUgUhCcIsrOdkSWPDv gcFnM3IyJ2X7KBYQRPtH1gqESKno7BBNPVYXnEDh7rX9aaExZrvwG0PvBAmwFNkRW7mmLyoLAjt b63PBx1MZ7tdlXOQWZfMCZT6yEoI7JU2y5TCr8STBEW4Nuj7gU6vsjnMQfoG1CjHobEdSvvbrFC WXq/TFvoYfIvhwRx6y/cXZ7mi4+sFhDSdcf8OW9Tj1Oz5+2rZJZ0qre7lAisqDzW6rzkTanXr1R 4JDxuWGrI2i/8H0Hdw9vXFlWmV8gOT5OMQKxy29ofxB3Q== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-strength-reduce-0.2): Update to 0.2.4. [arguments]<#:skip-build?>: Drop option. <#:cargo-development-inputs>: Add rust-num-bigint. --- gnu/packages/crates-io.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e3a8609e4f..aaaa1102fe 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -75180,16 +75180,18 @@ (define-public rust-streaming-stats-0.2 (define-public rust-strength-reduce-0.2 (package (name "rust-strength-reduce") - (version "0.2.3") + (version "0.2.4") (source (origin (method url-fetch) (uri (crate-uri "strength_reduce" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0m12phq654mfxpmh2h5akqkag5ha6nlhjc2bp9jwarr5r1qjzzx3")))) + (base32 "10jdq9dijjdkb20wg1dmwg447rnj37jbq0mwvbadvqi2gys5x2gy")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:cargo-development-inputs + (("rust-num-bigint" ,rust-num-bigint-0.4)))) (home-page "http://github.com/ejmahler/strength_reduce") (synopsis "Faster integer division and modulus operations") (description "Strength_reduce implements integer division and modulo via From patchwork Tue Nov 5 23:15:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69906 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 AAE9B27BBEA; Tue, 5 Nov 2024 23:17:30 +0000 (GMT) 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_DNSWL_BLOCKED, 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 3A3B627BBE2 for ; Tue, 5 Nov 2024 23:17:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnQ-0003n0-LC; Tue, 05 Nov 2024 18:17:12 -0500 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 1t8SnK-0003c5-O7 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 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 1t8SnK-0002aF-ER for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 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=1QeGefB4ekubDbu5Lu4UiFYNPHP8f6vIdjNkINbuGeA=; b=S190JxbQvGJB1Wlde7AAFJ342jOZrs9SvkfovASqQb7R2z15WNZiMkCWpkmAKAvgU1rmZbcLwXkaYDGAEvtsSOR27wXVxaDO3aZKdZw31tgdkWe90W7KTAinOnbOIzDaaAsIZR1nPNi6FkoVnQhMESYfwqsl/NKRdvL56w4l6EF0zCSDyGa40+yLO4wJhyALs5oIQzjxiIh0ObsMKHUk1lUpwy/99dMFIABbVZ4MHsWb/RqLDw6pcuDnodMMcojwdPYLhB3/RxmbcoCWPMcyZ3d5Fkogc8tnOFyaHFGiYjGucU6F0nWXoWk0rq3umyQ4pmq+Lz5ij/2KPMjxqkQ6XQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnK-0004RC-8r for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 18/20] gnu: Add rust-rustfft-6. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084860816946 (code B ref 73896); Tue, 05 Nov 2024 23:17:06 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:48 +0000 Received: from localhost ([127.0.0.1]:38482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sn1-0004PD-Ln for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:47 -0500 Received: from 20.mo583.mail-out.ovh.net ([91.121.55.239]:33389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smy-0004Op-3V for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:45 -0500 Received: from director7.ghost.mail-out.ovh.net (unknown [10.108.2.235]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkk268QNz1Qsp for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:42 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-rvswf (unknown [10.110.178.25]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id A03AC1FDBB; Tue, 5 Nov 2024 23:16:42 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-5b5ff79f4f-rvswf with ESMTPSA id 6QIwIFqnKmfWIQAAkgZJFg (envelope-from ); Tue, 05 Nov 2024 23:16:42 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-99G003cee3b622-dee8-4f35-9bf7-43775b459074, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:06 +0100 Message-ID: <20241105231519.22378-18-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12058950955888272098 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpeejnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=1QeGefB4ekubDbu5Lu4UiFYNPHP8f6vIdjNkINbuGeA=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848603; v=1; b=sD/CnmzWoCophCP/HwOV4Qgky9nPAJXXHx4av/dXMCdyT8JpE5laEtvm1AIeoMnkDRE4cQG7 ZgiivWnzD6wa+QSSFpC/GAUTrgcqCwbPj/oW11avGcncIflxatprt2oX7f8oEamqvlxPN41c04v Csfl+A2OqkekZUUIrVp2/ZL2dJlYnnflJ8y8vVJiqt6l3zFNwDWSFcEgcfeZXiDyTCQosxPlWuC 9/ZM5iY3kazYdZBcVoA1nCqKf+iGlcNezEPmV0zwB9lqGuo0+MjoE7+75lgmBkqV2D4xFheCl7K WS0jUByVTe4aU/Z1Q3ZT9/2VAT3S4bUi6Y9IWbZYNQ7Kg== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-rustfft-6): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aaaa1102fe..cb71f71b85 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -66462,6 +66462,38 @@ (define-public rust-rustdoc-types-0.23 (description "Types for rustdoc's json output.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustfft-6 + (package + (name "rust-rustfft") + (version "6.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustfft" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11hx83yr2h2jszkba9qhq2d08q9i5rsashq62rfhqvahpihnb023")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-paste" ,rust-paste-1) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)) + #:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.4) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-primal-check" ,rust-primal-check-0.3) + ("rust-strength-reduce" ,rust-strength-reduce-0.2) + ("rust-transpose" ,rust-transpose-0.2) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://github.com/ejmahler/RustFFT") + (synopsis "Rust FFT library") + (description + "This package provides a high-performance FFT (Fast Fourier Transform) +library written in pure Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustfix-0.8 (package (name "rust-rustfix") From patchwork Tue Nov 5 23:15:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69905 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 36A2D27BBE2; Tue, 5 Nov 2024 23:17:27 +0000 (GMT) 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_DNSWL_BLOCKED, 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 A07D627BBEA for ; Tue, 5 Nov 2024 23:17:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnQ-0003mr-AF; Tue, 05 Nov 2024 18:17:12 -0500 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 1t8SnL-0003gH-Ok for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:07 -0500 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 1t8SnL-0002aZ-Fq for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:07 -0500 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=3DS2uH+8J4AUCosYV/U8HbbWq/EPMSgquSM8JJCw6aE=; b=fzD6o6UHT7hKlS5kq7wLIhsIlQnUgthoWZKd8YLUlR/8qzd+B2Jl40+DoybMxYFmQ7oX3FNLWsJaU9/atfyP4ZN7xA5ae7WhzbPHeCSvP0m29eG2kj4lYbHOoonNczsLkyxFxfTlymF0I/gwdElrdhyEQzoEF1covkI2W0cCsp9cQQDOSFgvlphtFLe6390/Gk7w+BrLiGvCsXc0j0zeJ5HWM7Z1OyNp48MPx3KSag6oc7zycZu+fNmvzD2R1xl5oTO+thryzXLERXsUlKgYBwrZzp1DxEXuczcc5D7uNc0Aj4s/ZM6mmzzAgmIxyE3Op+/m6w0hXBbkXAHWbsEdlg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnL-0004RR-A5 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 19/20] gnu: Add rust-rustdct-0.7. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084861116962 (code B ref 73896); Tue, 05 Nov 2024 23:17:07 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:51 +0000 Received: from localhost ([127.0.0.1]:38486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sn4-0004PV-KK for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:50 -0500 Received: from 8.mo581.mail-out.ovh.net ([46.105.77.114]:40019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smz-0004Or-OJ for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:46 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.139.16]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkk43S6nz1MHk for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:44 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-2l5c8 (unknown [10.110.188.91]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E923D1FE7D; Tue, 5 Nov 2024 23:16:43 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-5b5ff79f4f-2l5c8 with ESMTPSA id dyDmI1unKmc5dA0AKH+/rA (envelope-from ); Tue, 05 Nov 2024 23:16:43 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-99G003f99dd8bc-1573-4261-ab2e-a02925a5125f, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:07 +0100 Message-ID: <20241105231519.22378-19-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12059513905594819298 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekudgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=3DS2uH+8J4AUCosYV/U8HbbWq/EPMSgquSM8JJCw6aE=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848604; v=1; b=Ei45RsxaE8duIEvUSCyG8qIAbN2PYx+bOKC4awM4xgd7E1i7sJhHCYzgEQhS5iNhnL5j1xbG 8eB+mnBF/1xcfFwloVdDBpOI21KMePuH2SLwVWbmMqXyCM/gQR2X0MW3XDn86F6uSUzBh0bIpC9 3rmFnturYUhTy0uDe3ujKYV/gYVCciGxEX8UjYK25luZZ3dLfg+zsidDgu5CkbOQLKzqoFMRK4g A9oCArVekZCxohmXpvhNeEbO2mtutXhQHZ8/BoT2t9LNSbQy1lMaIKWJeuWrj6Z3FzS2HcXbAi+ KdVR3SiLaehRxInaYXv9lnb+nMFr6mi4Ohp+CdndqxCxA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-rustdct-0.7): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cb71f71b85..b8d544f6b3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -66389,6 +66389,28 @@ (define-public rust-rustc-version-0.1 `(#:cargo-inputs (("rust-semver" ,rust-semver-0.1)))))) +(define-public rust-rustdct-0.7 + (package + (name "rust-rustdct") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustdct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lcm1191xx8wizima5j3n25fs90x58v3q1kwg6cbzafn0m8maqcb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rustfft" ,rust-rustfft-6)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/ejmahler/rust_dct") + (synopsis "Compute Discrete Cosine Transforms (DCT) in pure Rust") + (description + "This package provides a Rust library to compute the main Discrete Cosine +Transforms (DCT) of any size in O(nlogn) time.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustdoc-json-0.8 (package (name "rust-rustdoc-json") From patchwork Tue Nov 5 23:15:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69901 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 7200A27BBEA; Tue, 5 Nov 2024 23:17:21 +0000 (GMT) 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_DNSWL_BLOCKED, 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 CBF5527BBE2 for ; Tue, 5 Nov 2024 23:17:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8SnN-0003jR-BO; Tue, 05 Nov 2024 18:17:09 -0500 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 1t8SnL-0003eE-9I for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:07 -0500 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 1t8SnL-0002aT-02 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:07 -0500 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=KDhBy+0LEZ240Nj2YFMpRPvbrlr0VVjvxLF4Q9WgEK8=; b=sDCYaRs8AtpGjnQGyjT7bS1CAKik1vN5p1bNBnz36jSCv0Zr4uP5OQiux5aV+WXQJf2MoNkwfN4oSDfgEnRucd/pv4rldfQr2ovd+au5vjKlUiIqX21YT13eV5A39InZRnDJXiZvPr0vlfSZm72KySrJVcv8MBpeJqcyBNqtZ613gqp20P5NFFAKpQaM1l/g5LRnYmiitX2PRZ1B2vFgnSXNZHuHuK2J5wuH5kfXug51qEG2qR24AtprY7Z8HrMwQcMcm05J/fvXzveXzFJBaMD6jAPTD2M6ENxVShKcC3P+7Ld8Q3iWJObT8aiPxlHjU2qG0qKllHLun4+WJUwIZA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8SnK-0004RK-R1 for guix-patches@gnu.org; Tue, 05 Nov 2024 18:17:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73896] [PATCH v4 20/20] gnu: clamav: Unbundle rust dependencies. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Nov 2024 23:17:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73896@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73896-submit@debbugs.gnu.org id=B73896.173084860816952 (code B ref 73896); Tue, 05 Nov 2024 23:17:06 +0000 Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:48 +0000 Received: from localhost ([127.0.0.1]:38484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Sn2-0004PH-0s for submit@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:48 -0500 Received: from 4.mo576.mail-out.ovh.net ([46.105.42.102]:58447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Smz-0004Ot-Ou for 73896@debbugs.gnu.org; Tue, 05 Nov 2024 18:16:46 -0500 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.2.235]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkk50lfHz1vdq for <73896@debbugs.gnu.org>; Tue, 5 Nov 2024 23:16:45 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-76zrf (unknown [10.110.96.185]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D7DA81FD3C; Tue, 5 Nov 2024 23:16:44 +0000 (UTC) Received: from ngraves.fr ([37.59.142.104]) by ghost-submission-5b5ff79f4f-76zrf with ESMTPSA id 8F4WLlynKmcNpT4Ayyemgg (envelope-from ); Tue, 05 Nov 2024 23:16:44 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-104R0055301d63e-41a5-4e8b-9d1a-b5121a49aec0, 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 00:15:08 +0100 Message-ID: <20241105231519.22378-20-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241105231519.22378-1-ngraves@ngraves.fr> References: <20241105231519.22378-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12059795380540465890 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtgeenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=KDhBy+0LEZ240Nj2YFMpRPvbrlr0VVjvxLF4Q9WgEK8=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730848605; v=1; b=jDZLifXAUeRxNibSjK8cf5BUCp2dPD3dBF/kcbKZb7vzUVVPdPmGlyyB+nuCLLOnkLLG00TT Wg7Nlf4rerbtGIlqMT4XHIXbMCl1sypP1rK6EhO6bGS+Rcp3e4pmmlevqqWB5ocCIFkuwawhxgd MekW1Bap6KsOqVHa+5P/R8TS20jNmzdsjcktQTxRctad6GZZ0Jo5gYeRhPY/fcKw6k3NYJA7DvI Nppy3O95XErxCGCNH0tJX9L8u3Blf+QlxbS2YgsAGVaI+DdgnK8mBxC/zl4zA2PA0sa8WUHPFci 0uceGNRQwpKBZcXILGZekRUZ0Ic33OIEVzbVW1N6vzk7w== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/antivirus.scm (clamav) [origin]: Unbundle rust dependencies. [build-system]: Switch to cargo-build-system. [arguments]: Adapt to the change of base build-system. [native-inputs]: Add cmake-minimal. Remove rust and rust:cargo. --- gnu/packages/antivirus.scm | 135 +++++++++++++++++++++++++++---------- 1 file changed, 99 insertions(+), 36 deletions(-) diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm index 1a23657a61..b561ff060a 100644 --- a/gnu/packages/antivirus.scm +++ b/gnu/packages/antivirus.scm @@ -31,12 +31,17 @@ (define-module (gnu packages antivirus) #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages cmake) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-io) #:use-module (gnu packages curl) #:use-module (gnu packages ncurses) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-check) + #:use-module (gnu packages rust-apps) #:use-module (gnu packages rust) #:use-module (gnu packages tls) #:use-module (gnu packages web) @@ -62,49 +67,107 @@ (define-public clamav (snippet '(begin (delete-file "Cargo.lock") - (for-each - delete-file - (find-files ".cargo/vendor" ".cargo-checksum\\.json")) (for-each delete-file-recursively - '("win32" ; unnecessary + '(".cargo" ; vendored rust inputs + "win32" ; unnecessary "libclamunrar")))))) ; non-free license - (build-system cmake-build-system) + (build-system cargo-build-system) (arguments - (list - #:configure-flags - #~(list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF") - #:imported-modules `((guix build cargo-utils) - ,@%cmake-build-system-modules) - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'inject-rust-onenote - (lambda _ - (substitute* "libclamav_rust/Cargo.toml" - (("onenote_parser = .*") - "onenote_parser = \"0.3.1\"\n")))) - (add-after 'patch-source-shebangs 'patch-cargo-checksums - (lambda _ - (use-modules - (srfi srfi-1) (ice-9 ftw) (guix build cargo-utils)) - (with-directory-excursion ".cargo/vendor" - (for-each generate-all-checksums - (delete "." (delete ".." (scandir "."))))))) - (add-after 'unpack 'skip-clamd-tests - ;; XXX: The check?_clamd tests fail inside the build - ;; chroot, but pass outside. - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (substitute* "unit_tests/CMakeLists.txt" - (("clamd_test\\.py" test) - (string-append - test " -k \"not test_clamd_08_VirusEvent\""))))))))) + (let ((cargo-inputs + `(("rust-flate2" ,rust-flate2-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-image" ,rust-image-0.24) + ("rust-rustdct" ,rust-rustdct-0.7) + ("rust-transpose" ,rust-transpose-0.2) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-base64" ,rust-base64-0.21) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-bindgen" ,rust-bindgen-0.66) + ("rust-onenote-parser" ,rust-onenote-parser-for-clamav) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-inflate" ,rust-inflate-0.4) + ("rust-bzip2-rs" ,rust-bzip2-rs-0.1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-delharc" ,rust-delharc-0.6))) + (cargo-development-inputs + `(("rust-cbindgen" ,rust-cbindgen-0.26) + ("rust-bindgen" ,rust-bindgen-0.66)))) + (list + #:cargo-inputs cargo-inputs + #:cargo-development-inputs cargo-development-inputs + #:vendor-dir ".cargo/vendor" + #:imported-modules `(,@%cmake-build-system-modules + ,@%cargo-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build cmake-build-system) #:prefix cmake:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + ;; There is a .exe file used in unit tests. + (delete 'check-for-pregenerated-files) + (add-after 'configure 'fix-cargo-inputs-vendoring + (lambda _ + ;; Reproduce the original layout, fails with config. + (rename-file ".cargo/config" ".cargo/config.toml") + ;; Wrongly placed by configure + (delete-file-recursively + (string-append ".cargo/vendor/clamav-" #$version ".tar.zst")))) + (add-after 'patch-cargo-checksums 'cmake-configure + (lambda* (#:key outputs #:allow-other-keys) + ((assoc-ref cmake:%standard-phases 'configure) + #:configure-flags + (list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF") + #:outputs outputs))) + (replace 'build + (assoc-ref cmake:%standard-phases 'build)) + (add-after 'patch-cargo-checksums 'patch-rust-requirements + (lambda _ + (substitute* "libclamav_rust/Cargo.toml" + (("onenote_parser = .*") + (format #f "onenote_parser = ~s~%" + #$(package-version + (car (assoc-ref cargo-inputs + "rust-onenote-parser"))))) + (("^bindgen = .*") + (format #f "bindgen = ~s~%" + #$(package-version + (car (assoc-ref cargo-inputs + "rust-bindgen"))))) + (("cbindgen = \\{ version =\".*\",") + (format #f "cbindgen = { version =~s," + #$(package-version + (car (assoc-ref cargo-development-inputs + "rust-cbindgen")))))))) + (delete 'package) + (replace 'install + (assoc-ref cmake:%standard-phases 'install)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + ((assoc-ref cmake:%standard-phases 'check) + #:tests? tests? + #:parallel-tests? #t + #:test-target "test"))) + (add-after 'unpack 'skip-clamd-tests + ;; XXX: The check?_clamd tests fail inside the build + ;; chroot, but pass outside. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (substitute* "unit_tests/CMakeLists.txt" + (("clamd_test\\.py" test) + (string-append + test " -k \"not test_clamd_08_VirusEvent\"")))))))))) (native-inputs (list check ; for tests + cmake-minimal pkg-config python-minimal - python-pytest - rust - (list rust "cargo"))) + python-pytest)) (inputs (list bzip2 curl