aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-07-26 09:26:06 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 11:48:03 +0200
commitd851cecc14ed889019f77f3b3e329b4e120d83f0 (patch)
treec8100316a28aab588dbfe165f96de7659a549039 /gnu
parenta05897522994e2f315fef7679ecd1a873a8f3dcb (diff)
downloadguix-d851cecc14ed889019f77f3b3e329b4e120d83f0.tar
guix-d851cecc14ed889019f77f3b3e329b4e120d83f0.tar.gz
gnu: Add rust-simd-adler32-0.3.
* gnu/packages/crates-io.scm (rust-simd-adler32-0.3): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e5278061ef..231bc9cff6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56393,6 +56393,33 @@ CPUs, as well as raw interfaces to platform-specific instructions.
#:cargo-development-inputs
(("rust-cfg-if" ,rust-cfg-if-0.1))))))
+(define-public rust-simd-adler32-0.3
+ (package
+ (name "rust-simd-adler32")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "simd-adler32" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "060b9v15s3miq06582cj2ywam92ph6xs34s62mc8az3xc4wxz98l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-adler" ,rust-adler-1)
+ ("rust-adler32" ,rust-adler32-1)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/mcountryman/simd-adler32")
+ (synopsis
+ "Adler-32 rolling hash algorithm implementation")
+ (description
+ "This package provides a SIMD-accelerated Adler-32 rolling hash algorithm
+implementation in Rust.")
+ (license license:expat)))
+
(define-public rust-simd-helpers-0.1
(package
(name "rust-simd-helpers")