Subject: [bug#72021] [PATCH 32/38] gnu: Add rust-cfb-0.7.

From: Wilko Meyer <[email-masked]>
Date: Wed, 10 Jul 2024 01:37:12 +0200

* gnu/packages/crates-windows.scm (rust-cfb-0.7): New variable.

Change-Id: I7468391b1c4c2c53b70ee3e094973f7687ec30ce
---
 gnu/packages/crates-windows.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index ef91db0e96..f4d2a2472f 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -138,6 +138,29 @@ (define-public rust-cargo-credential-wincred-0.3
        (("rust-cargo-credential" ,rust-cargo-credential-0.3)
         ("rust-windows-sys" ,rust-windows-sys-0.48))))))
 
+(define-public rust-cfb-0.7
+  (package
+    (name "rust-cfb")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cfb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "03y6p3dlm7gfds19bq4ba971za16rjbn7q2v0vqcri52l2kjv3yk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-fnv" ,rust-fnv-1)
+                       ("rust-uuid" ,rust-uuid-1))))
+    (home-page "https://github.com/mdsteele/rust-cfb")
+    (synopsis "Read/write Compound File Binary files")
+    (description
+     "This package provides Read/write functionality for Compound File Binary
+(structured storage) files.")
+    (license license:expat)))
+
 (define-public rust-clipboard-win-5
   (package
     (name "rust-clipboard-win")
-- 
2.41.0