summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-12-16 18:56:14 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-01-08 10:33:08 +0100
commit7ce8284fbcbea202921e751405f7cab621c597fc (patch)
tree99fa3e6ae85dafacd0f2fd2d4f7624669c755f22 /gnu
parent91f05b1bc48506a7ba43271575d869d915bbea37 (diff)
gnu: Add rust-dbl-0.3.
* gnu/packages/crates-io.scm (rust-dbl-0.3): New varible.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 711b482b3f..d961e06966 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8553,6 +8553,31 @@ hexadecimal, base32, and base64.")
and arithmetic.")
(license license:expat)))
+(define-public rust-dbl-0.3
+ (package
+ (name "rust-dbl")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dbl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pihf6zrzncbs3lsyqkzxxxqmjf8rfpwvs1sg8nmz8cv7df18d97"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.14))))
+ (home-page "https://docs.rs/dbl")
+ (synopsis "Double operation in Galois Field")
+ (description
+ "This package provides double and inverse double over Galois Field -
+GF(2^n). This trait is implemented for 64, 128 and 256 bit block
+sizes. Big-endian order is used. WARNING: Block must be aligned!")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-decimal-2.0
(package
(name "rust-decimal")