Subject: [PATCH 105/156] gnu: Add rust-rfc6979-0.3.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:22 +0100

* gnu/packages/crates-io.scm (rust-rfc6979-0.3): New variable.

Change-Id: Iaeb5462c8851cdea0f4fc33ba0579fbf0e208bc1
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 99d42c02211..574cc7f528a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59425,6 +59425,33 @@ (define-public rust-rfc6979-0.4
 Digital Signature Algorithm} (ECDSA).")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-rfc6979-0.3
+  (package
+    (name "rust-rfc6979")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rfc6979" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1fzsp705b5lhwd2r9il9grc3lj6rm3b2r89vh0xv181gy5xg2hvp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-crypto-bigint" ,rust-crypto-bigint-0.4)
+                       ("rust-hmac" ,rust-hmac-0.12)
+                       ("rust-zeroize" ,rust-zeroize-1))))
+    (home-page "https://github.com/RustCrypto/signatures/tree/master/rfc6979")
+    (synopsis
+     "Pure Rust implementation of RFC6979: Deterministic Usage of the
+Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA)
+")
+    (description
+     "Pure Rust implementation of RFC6979: Deterministic Usage of the Digital
+Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA)")
+    (license (list license:asl2.0 license:expat))))
+
 (define computed-origin-method (@@ (guix packages) computed-origin-method))
 (define rust-ring-0.17-sources
   (let* ((version "0.17.7")
-- 
2.41.0