1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 02:20:53 +02:00

gnu: Add rust-primal-slowsieve-0.3.

* gnu/packages/crates-io.scm (rust-primal-slowsieve-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I59ffaae5e818fb2fe9ff754ded10d70e96c464dc
This commit is contained in:
Nicolas Graves 2024-11-06 00:15:00 +01:00 committed by Efraim Flashner
parent e426f52570
commit f3df3dc2bf
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -56137,6 +56137,30 @@ bounds for the number of primes below n and the k-th prime.")
(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")