diff mbox series

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

Message ID 56f6289faff74956dff640b99bb5a7df7f8fe451.1714820130.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:35 a.m. UTC
* gnu/packages/crates-io.scm (rust-reed-solomon-erasure-6): Add
variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
diff mbox series

Patch

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