Subject: [PATCH 135/156] gnu: Add rust-tiny-bip39-1.

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

* gnu/packages/crates-io.scm (rust-tiny-bip39-1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6fe65224203..af2868fa4ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77446,6 +77446,39 @@ (define-public rust-tint-1
 manipulation in Rust.")
     (license license:expat)))
 
+(define-public rust-tiny-bip39-1
+  (package
+    (name "rust-tiny-bip39")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tiny-bip39" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0q98iv3wgbd41wyxxd5is8sddi53k9ary45rbi5fi8dmb39r9k32"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-hmac" ,rust-hmac-0.12)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-pbkdf2" ,rust-pbkdf2-0.11)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rustc-hash" ,rust-rustc-hash-1)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)
+                       ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+                       ("rust-zeroize" ,rust-zeroize-1))))
+    (home-page "https://github.com/maciejhirsz/tiny-bip39/")
+    (synopsis
+     "A fork of the bip39 crate with fixes to v0.6. Rust implementation of BIP-0039")
+    (description
+     "This package provides a fork of the bip39 crate with fixes to v0.6.  Rust
+implementation of BIP-0039")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tiny-http-0.12
   (package
     (name "rust-tiny-http")
-- 
2.41.0