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