Subject: [PATCH rust-team 44/46] gnu: Add rust-windows-bindgen-0.52.

From: Tomas Volf <[email-masked]>
Date: Thu, 15 Feb 2024 21:26:57 +0100

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

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

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index f88770089c..2de13f63a1 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1526,6 +1526,28 @@ (define-public rust-windows-aarch64-msvc-0.28
                (base32
                 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))))
 
+(define-public rust-windows-bindgen-0.52
+  (package
+    (name "rust-windows-bindgen")
+    (version "0.52.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-bindgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "071lrbhbvh0l8m1wf5000xxmcry1gjpqdxcqm23qmss9d05zn3lp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#: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.52))))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "Windows metadata compiler")
+    (description "Windows metadata compiler")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-bindgen-0.51
   (package
     (name "rust-windows-bindgen")
-- 
2.41.0