Subject: [PATCH 04/55] gnu: Add rust-windows-i686-msvc-0.52.

From: Jaeme Sifat <[email-masked]>
Date: Tue, 19 Dec 2023 22:54:26 -0500

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

Change-Id: I9a9a2b6a4aa253fb0bbd7f51db6bfa3987ee0a98
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b93182000..d02b2bf685 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88839,8 +88839,31 @@ (define-public rust-windows-i686-gnu-0.28
                (base32
                 "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm"))))))
 
+(define-public rust-windows-i686-msvc-0.52
+  (package
+    (name "rust-windows-i686-msvc")
+    (version "0.52.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows_i686_msvc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16kvmbvx0vr0zbgnaz6nsks9ycvfh5xp05bjrhq65kj623iyirgz"))
+       (snippet
+        #~(delete-file "lib/windows.0.52.0.lib"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #t))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "Code gen support for the windows crate")
+    (description
+     "This package provides code gen support for the windows crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-i686-msvc-0.48
   (package
+    (inherit rust-windows-i686-msvc-0.52)
     (name "rust-windows-i686-msvc")
     (version "0.48.0")
     (source (origin
@@ -88851,15 +88874,7 @@ (define-public rust-windows-i686-msvc-0.48
                (base32
                 "004fkyqv3if178xx9ksqc4qqv8sz8n72mpczsr2vy8ffckiwchj5"))
               (snippet
-               '(delete-file "lib/windows.0.48.0.lib"))))
-    (build-system cargo-build-system)
-    (arguments
-     (list #:skip-build? #t))
-    (home-page "https://github.com/microsoft/windows-rs")
-    (synopsis "Code gen support for the windows crate")
-    (description
-     "This package provides code gen support for the windows crate.")
-    (license (list license:expat license:asl2.0))))
+               '(delete-file "lib/windows.0.48.0.lib"))))))
 
 (define-public rust-windows-i686-msvc-0.42
   (package
@@ -88874,9 +88889,7 @@ (define-public rust-windows-i686-msvc-0.42
                (base32
                 "0q0h9m2aq1pygc199pa5jgc952qhcnf0zn688454i7v4xjv41n24"))
               (snippet
-               '(delete-file "lib/windows.lib"))))
-    (arguments
-     (list #:skip-build? #t))))
+               '(delete-file "lib/windows.lib"))))))
 
 (define-public rust-windows-i686-msvc-0.36
   (package
-- 
2.41.0