Subject: bug#49396: closed (Re: [bug#49383] [PATCH v2 00/26] Addressing comments)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 13 Jul 2021 12:18:04 +0000

Your bug report

#49383: [PATCH 14/21] gnu: Add rust-hmac-0.10

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
49383: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49383
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#49383] [PATCH v2 00/26] Addressing comments
From: Efraim Flashner <[email-masked]>
To: Domagoj Stolfa <[email-masked]>
Cc: [email-masked], Domagoj Stolfa <[email-masked]>
Date: Tue, 13 Jul 2021 15:15:49 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Patches pushed. Some of the patches which changed some crates from using
rust-cipher-0.2 to 0.3 I skipped since they no longer built after the
change.

Thanks!

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH 14/21] gnu: Add rust-hmac-0.10
From: Domagoj Stolfa <[email-masked]>
To: [email-masked]
Cc: Domagoj Stolfa <[email-masked]>
Date: Sun, 4 Jul 2021 17:31:56 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/crates-io.scm (rust-hmac-0.10): New public variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b4609f0f52..9e38efb765 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20070,6 +20070,35 @@ Derivation Function (HKDF).")
       "Generic implementation of Hash-based Message Authentication Code (HMAC)")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hmac-0.10
+  (package
+    (name "rust-hmac")
+    (version "0.10.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "hmac" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0plh47p6ryab7sc2i49jg4l8apzasw48axr37ba2c2fvai72dvzf"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+         ("rust-digest" ,rust-digest-0.9))
+        #:cargo-development-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+         ("rust-md-5" ,rust-md-5-0.9)
+         ("rust-sha2" ,rust-sha2-0.9))))
+    (home-page "https://github.com/RustCrypto/MACs")
+    (synopsis
+      "Generic implementation of Hash-based Message Authentication Code (HMAC)")
+    (description
+      "Generic implementation of Hash-based Message Authentication Code (HMAC)")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hmac-0.8
   (package
     (name "rust-hmac")
-- 
2.32.0