diff mbox series

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

Message ID a3b28cd476cf4e6377ad3e1cebfec7419ccb6a3d.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-g2poly-1): Add variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff mbox series

Patch

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