Subject: [bug#69257] [PATCH rust-team v3 41/75] gnu: Add rust-g2poly-1.

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

* gnu/packages/crates-io.scm (rust-g2poly-1): Add variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e20a5a36b6..d518241d13 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29243,6 +29243,25 @@ (define-public rust-fxhash-0.2
 derived from an internal hasher used in FireFox and Rustc.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-g2poly-1
+  (package
+    (name "rust-g2poly")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "g2poly" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04lfc0j6169ljcfh5837ra3izmlcwnzw1c8l5km071ika3kqcsmg"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/WanzenBug/g2p")
+    (synopsis "Polynomials over the field GF(2)")
+    (description
+     "This package provides a primitive implementation of polynomials over
+the field GF(2).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gag-0.1
   (package
     (name "rust-gag")
-- 
2.41.0