Subject: [PATCH 108/147] gnu: Add rust-windows-core-0.52.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:05:00 +0200

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

Change-Id: I3d65339ae40df6b81542b8762d14780cf2ab4263
---
 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 857150c3b0..0309228e49 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1568,6 +1568,28 @@ (define-public rust-windows-bindgen-0.51
                        ("rust-syn" ,rust-syn-2)
                        ("rust-windows-metadata" ,rust-windows-metadata-0.51))))))
 
+(define-public rust-windows-core-0.52
+  (package
+    (name "rust-windows-core")
+    (version "0.52.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nc3qv7sy24x0nlnb32f7alzpd6f72l4p24vl65vydbyil669ark"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-windows-result" ,rust-windows-result-0.1)
+                       ("rust-windows-targets" ,rust-windows-targets-0.52))))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "Windows base types for Rust")
+    (description "This package provides a library with base types
+of Windows.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-i686-gnu-0.52
   (package
     (name "rust-windows-i686-gnu")
-- 
2.41.0