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