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")