all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 73896@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#73896] [PATCH v3 13/20] gnu: Add rust-primal-0.3.
Date: Sun,  3 Nov 2024 02:30:20 +0100	[thread overview]
Message-ID: <20241103013258.26141-14-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241103013258.26141-1-ngraves@ngraves.fr>

* 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 455d8d2608..108c9a126e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56601,6 +56601,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")
-- 
2.46.0





  parent reply	other threads:[~2024-11-03  1:35 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-19 23:08 [bug#73896] [PATCH] gnu: clamav: Add release-monitoring-url property Nicolas Graves via Guix-patches via
2024-10-21  9:05 ` [bug#73896] [PATCH v2 1/2] " Nicolas Graves via Guix-patches via
2024-10-21  9:05   ` [bug#73896] [PATCH v2 2/2] gnu: clamav: Update to 1.4.1 Nicolas Graves via Guix-patches via
2024-11-03  1:30 ` [bug#73896] [PATCH v3 00/20] Clamav update [security fixes] Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 01/20] gnu: rust-widestring-0.4: Update to 0.4.3 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 02/20] gnu: rust-enum-primitive-derive-0.2: Update to 0.2.2 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 03/20] gnu: Add rust-onenote-parser-0.3 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 04/20] gnu: Add rust-onenote-parser-for-clamav Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 05/20] gnu: clamav: Add release-monitoring-url property Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 06/20] gnu: clamav: Update to 1.4.1 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 07/20] gnu: Add rust-hamming-0.1 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 08/20] gnu: Add rust-primal-bit-0.3 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 09/20] gnu: Add rust-primal-check-0.3 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 10/20] gnu: Add rust-primal-estimate-0.3 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 11/20] gnu: Add rust-primal-sieve-0.3 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 12/20] gnu: Add rust-primal-slowsieve-0.3 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` Nicolas Graves via Guix-patches via [this message]
2024-11-03  1:30   ` [bug#73896] [PATCH v3 14/20] gnu: rust-crc-any-2: Update to 2.5.0 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 15/20] gnu: Add rust-delharc-0.6 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 16/20] gnu: Add rust-transpose-0.2 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 17/20] gnu: rust-strength-reduce-0.2: Update to 0.2.4 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 18/20] gnu: Add rust-rustfft-6 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 19/20] gnu: Add rust-rustdct-0.7 Nicolas Graves via Guix-patches via
2024-11-03  1:30   ` [bug#73896] [PATCH v3 20/20] gnu: clamav: Unbundle rust dependencies Nicolas Graves via Guix-patches via
2024-11-05 23:14 ` [bug#73896] [PATCH v4 01/20] gnu: rust-widestring-0.4: Update to 0.4.3 Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 02/20] gnu: rust-enum-primitive-derive-0.2: Update to 0.2.2 Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 03/20] gnu: Add rust-onenote-parser-0.3 Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 04/20] gnu: Add rust-onenote-parser-for-clamav Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 05/20] gnu: clamav: Add release-monitoring-url property Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 06/20] gnu: clamav: Update to 1.4.1 Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 07/20] gnu: Add rust-hamming-0.1 Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 08/20] gnu: Add rust-primal-bit-0.3 Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 09/20] gnu: Add rust-primal-check-0.3 Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 10/20] gnu: Add rust-primal-estimate-0.3 Nicolas Graves via Guix-patches via
2024-11-05 23:14   ` [bug#73896] [PATCH v4 11/20] gnu: Add rust-primal-sieve-0.3 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 12/20] gnu: Add rust-primal-slowsieve-0.3 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 13/20] gnu: Add rust-primal-0.3 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 14/20] gnu: rust-crc-any-2: Update to 2.5.0 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 15/20] gnu: Add rust-delharc-0.6 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 16/20] gnu: Add rust-transpose-0.2 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 17/20] gnu: rust-strength-reduce-0.2: Update to 0.2.4 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 18/20] gnu: Add rust-rustfft-6 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 19/20] gnu: Add rust-rustdct-0.7 Nicolas Graves via Guix-patches via
2024-11-05 23:15   ` [bug#73896] [PATCH v4 20/20] gnu: clamav: Unbundle rust dependencies Nicolas Graves via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241103013258.26141-14-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=73896@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.