Subject: [PATCH 16/22] gnu: Add rust-windows-bindgen-0.51.

From: Jaeme Sifat <[email-masked]>
Date: Sun, 29 Oct 2023 00:27:08 -0400

* gnu/packages/crates-io.scm (rust-windows-bindgen-0.51): New variable.

Signed-off-by: Jaeme Sifat <[email-masked]>
Change-Id: Ia87e9a9dfdd8ac2d8dc19365c40f04ff62980e57
---
 gnu/packages/crates-io.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af793cf147..10e45af42d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83347,6 +83347,30 @@ (define-public rust-windows-aarch64-msvc-0.28
                (base32
                 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))))
 
+(define-public rust-windows-bindgen-0.51
+  (package
+    (name "rust-windows-bindgen")
+    (version "0.51.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-bindgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0xfdq4q958qal5iks8xkaanf7w3akzfxc58dxvz7amhjg2vic7xw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-rayon" ,rust-rayon-1)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-windows-metadata" ,rust-windows-metadata-0.51))))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "Windows metadata compiler bindings")
+    (description
+     "This package provides the windows metadata compiler bindings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-i686-gnu-0.48
   (package
     (name "rust-windows-i686-gnu")
@@ -83737,7 +83761,7 @@ (define-public rust-windows-metadata-0.51
     (build-system cargo-build-system)
     (home-page "https://github.com/microsoft/windows-rs")
     (synopsis "Windows metadata reader")
-    (description "Windows metadata reader")
+    (description "This package provides a Windows metadata reader.")
     (license (list license:expat license:asl2.0))))
 
 (define-public rust-windows-targets-0.48
-- 
2.34.1