Subject: [PATCH 16/41] gnu: rust-rbw: adding rust-digest-0.10

From: Nicolas Graves <[email-masked]>
Date: Fri, 07 Jan 2022 15:09:02 +0100

>From 1c7910bd325d21e3b37b94aac7f9f0f8d069e335 Mon Sep 17 00:00:00 2001
From: Nicolas Graves <[email-masked]>
Date: Fri, 7 Jan 2022 11:13:58 +0100
Subject: [PATCH 17/42] rust-rbw dependencies : adding rust-digest-0.10

---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++--------
 1 file changed, 34 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b8876e432..e66f8e5f2c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15702,10 +15702,10 @@ (define-public rust-diffus-derive-0.10
 any data structure.  Supports derive on structs and enums.")
     (license license:asl2.0)))
 
-(define-public rust-digest-0.9
+(define-public rust-digest-0.10
   (package
     (name "rust-digest")
-    (version "0.9.0")
+    (version "0.10.1")
     (source
       (origin
         (method url-fetch)
@@ -15714,21 +15714,47 @@ (define-public rust-digest-0.9
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
+          "16wpqnwlzx0lbnwccwikns7dq8fblcc6kma2l7xz8anlh5hdd5xn"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-blobby" ,rust-blobby-0.1)
-        ("rust-generic-array" ,rust-generic-array-0.14))))
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-blobby" ,rust-blobby-0.3)
+         ("rust-block-buffer" ,rust-block-buffer-0.10)
+         ("rust-crypto-common" ,rust-crypto-common-0.1)
+         ("rust-generic-array" ,rust-generic-array-0.14)
+         ("rust-subtle" ,rust-subtle-2.4))))
     (home-page "https://github.com/RustCrypto/traits")
     (synopsis "Traits for cryptographic hash functions")
     (description
      "Traits for cryptographic hash functions.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-digest-0.9
+  (package
+    (inherit rust-digest-0.10)
+    (name "rust-digest")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "digest" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-blobby" ,rust-blobby-0.1)
+        ("rust-generic-array" ,rust-generic-array-0.14))))
+))
+
 (define-public rust-digest-0.8
   (package
-    (inherit rust-digest-0.9)
+    (inherit rust-digest-0.10)
     (name "rust-digest")
     (version "0.8.1")
     (source
@@ -15748,7 +15774,7 @@ (define-public rust-digest-0.8
 
 (define-public rust-digest-0.7
   (package
-    (inherit rust-digest-0.9)
+    (inherit rust-digest-0.10)
     (name "rust-digest")
     (version "0.7.6")
     (source
-- 
2.34.0