Subject: [PATCH 05/42] gnu: Add rust-bech32-0.9.

From: Wilko Meyer <[email-masked]>
Date: Tue, 2 Apr 2024 18:22:22 +0200

* gnu/packages/crates-crypto.scm (rust-bech32-0.9): New variable.

Change-Id: Ic127daf358d1aa27b106618ebac4574e1d0b0c9d
---
 gnu/packages/crates-crypto.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index fb54bd89f2..be39b1af9a 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -769,6 +769,26 @@ (define-public rust-bcrypt-pbkdf-0.10
 derivation function.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-bech32-0.9
+  (package
+    (name "rust-bech32")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bech32" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0igl565rfpxwbh0g36cb7469sjkiap8yd21kcr0ppi2jfbwr6syq"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/rust-bitcoin/rust-bech32")
+    (synopsis
+     "Encodes and decodes the Bech32 format and implements the bech32 and bech32m checksums")
+    (description
+     "Encodes and decodes the Bech32 format and implements the bech32 and bech32m
+checksums.")
+    (license license:expat)))
+
 (define-public rust-blake2-0.10
   (package
     (name "rust-blake2")
-- 
2.41.0