Subject: [PATCH 15/41] gnu: rust-rbw: adding rust-crypto-common-0.1
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Date: Fri, 07 Jan 2022 15:07:27 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

From 579102ae1b8df1c53b4eff5e88ee251211305f6d Mon Sep 17 00:00:00 2001
From: Nicolas Graves <[email-masked]>
Date: Fri, 7 Jan 2022 11:56:55 +0100
Subject: [PATCH 16/42] rust-rbw dependencies : adding rust-crypto-common-0.1

---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7073fa846a..9b8876e432 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12871,6 +12871,29 @@ (define-public rust-crypto-bigint-0.2
 no_std-friendly implementations of modern formulas using const generics.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-crypto-common-0.1
+  (package
+    (name "rust-crypto-common")
+    (version "0.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "crypto-common" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1l4q4ync13i056vjc775v0za8qh987da7yvrjj25q909cd9nngb8"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-generic-array" ,rust-generic-array-0.14)
+         ("rust-rand-core" ,rust-rand-core-0.6))))
+    (home-page "https://github.com/RustCrypto/traits")
+    (synopsis "Common cryptographic traits")
+    (description "Common cryptographic traits")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-crypto-mac-0.11
   (package
     (name "rust-crypto-mac")
-- 
2.34.0