Subject: [bug#67919] [PATCH 01/55] gnu: Add rust-windows-x86-64-msvc-0.52.

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

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

Change-Id: I47ed1854dc0c5a5668752782c2803b60b58e41dd
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++--------
 1 file changed, 23 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ddafebd1d6..d90cf94c54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89410,8 +89410,30 @@ (define-public rust-windows-x86-64-gnullvm-0.42
                '(delete-file "lib/libwindows.a"))))
     (arguments (list #:skip-build? #t))))
 
+(define-public rust-windows-x86-64-msvc-0.52
+  (package
+    (name "rust-windows-x86-64-msvc")
+    (version "0.52.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows_x86_64_msvc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "012wfq37f18c09ij5m6rniw7xxn5fcvrxbqd0wd8vgnl3hfn9yfz"))
+       (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-x86-64-msvc-0.48
   (package
+    (inherit rust-windows-x86-64-msvc-0.52)
     (name "rust-windows-x86-64-msvc")
     (version "0.48.0")
     (source (origin
@@ -89422,14 +89444,7 @@ (define-public rust-windows-x86-64-msvc-0.48
                (base32
                 "12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s"))
               (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-x86-64-msvc-0.42
   (package
-- 
2.41.0