diff mbox series

[bug#69257,rust-team,v3,39/75] gnu: Add rust-galois-2p8-0.1.

Message ID 83d73b540d9cbc0e8e545a7b10ff0d8ef511c296.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-galois-2p8-0.1): Add variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 637d798c92..486215291b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29290,6 +29290,28 @@  (define-public rust-galil-seiferas-0.1
 time, for nonorderable alphabets.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-galois-2p8-0.1
+  (package
+    (name "rust-galois-2p8")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "galois_2p8" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "143l2xmdxsqqj966722nv1zfncdm7yssixs07f3mc2qa18xskfml"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-proptest" ,rust-proptest-0.8))))
+    (home-page "https://github.com/djsweet/galois_2p8")
+    (synopsis "Basic arithmetic over all GF(2^8) fields")
+    (description
+     "This package provides basic arithmetic over all GF(2^8) fields.")
+    (license license:expat)))
+
 (define-public rust-gat-std-0.1
   (package
     (name "rust-gat-std")