Subject: [bug#69257] [PATCH rust-team v3 40/75] gnu: Add rust-reed-solomon-erasure-6.

From: Herman Rimm <[email-masked]>
Date: Sat, 4 May 2024 13:35:12 +0200

* gnu/packages/crates-io.scm (rust-reed-solomon-erasure-6): Add
variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 486215291b..e20a5a36b6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63502,6 +63502,36 @@ (define-public rust-reduce-0.1
 initial value.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-reed-solomon-erasure-6
+  (package
+    (name "rust-reed-solomon-erasure")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "reed-solomon-erasure" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kqdjvrvb24iivi1wfjhjjm99a3msiiad8j3bm84yk8da0ykfqvj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-0.9)
+        ("rust-rand" ,rust-rand-0.7))
+       #:cargo-inputs (("rust-cc" ,rust-cc-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libm" ,rust-libm-0.2)
+                       ("rust-lru" ,rust-lru-0.7)
+                       ("rust-parking-lot" ,rust-parking-lot-0.11)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-spin" ,rust-spin-0.9))))
+    (home-page "https://github.com/darrenldl/reed-solomon-erasure")
+    (synopsis "Rust implementation of Reed-Solomon erasure coding")
+    (description
+     "This package provides a Rust implementation of Reed-Solomon
+erasure coding.")
+    (license license:expat)))
+
 (define-public rust-reedline-0.30
   (package
     (name "rust-reedline")
-- 
2.41.0