summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:10 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:51 +0200
commit507ec15f0b0ef4a3669d4c87901a3f924f35414d (patch)
tree3162e30432be9299f002f1cc9ee2ae6ae4cadc9d /gnu/packages/crates-io.scm
parenta47649dd5cdb86e3d4673cd394a621c32fb08974 (diff)
downloadguix-507ec15f0b0ef4a3669d4c87901a3f924f35414d.tar.gz
gnu: Add rust-crypto-bigint-0.4.
* gnu/packages/crates-io.scm (rust-crypto-bigint-0.4): New variable.

Change-Id: I48f1487beef1b13f26738a314fd62183173b5a09
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 37cdc581de..46fb23966d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17061,6 +17061,34 @@ Provides constant-time, no_std-friendly implementations of modern formulas
 using const generics.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-crypto-bigint-0.4
+  (package
+    (inherit rust-crypto-bigint-0.5)
+    (name "rust-crypto-bigint")
+    (version "0.4.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "crypto-bigint" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vqprgj0aj1340w186zyspi58397ih78jsc0iydvhs6zrlilnazg"))))
+    (arguments
+     `(#:cargo-inputs (("rust-der" ,rust-der-0.6)
+                       ("rust-generic-array" ,rust-generic-array-0.14)
+                       ("rust-rand-core" ,rust-rand-core-0.6)
+                       ("rust-rlp" ,rust-rlp-0.5)
+                       ("rust-serdect" ,rust-serdect-0.1)
+                       ("rust-subtle" ,rust-subtle-2)
+                       ("rust-zeroize" ,rust-zeroize-1))
+        #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+                                    ("rust-hex-literal" ,rust-hex-literal-0.3)
+                                    ("rust-num-bigint" ,rust-num-bigint-0.4)
+                                    ("rust-num-traits" ,rust-num-traits-0.2)
+                                    ("rust-proptest" ,rust-proptest-1)
+                                    ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+                                    ("rust-rand-core" ,rust-rand-core-0.6))))))
+
 (define-public rust-crypto-bigint-0.3
   (package
     (inherit rust-crypto-bigint-0.5)