Subject: [bug#67919] [PATCH 06/55] gnu: Add rust-windows-aarch64-msvc-0.52.

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

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

Change-Id: I92cb1c8e86f20ad70447902a969965b16e063cac
---
 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 255d9ec986..91f1f631c4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88655,8 +88655,31 @@ (define-public rust-windows-aarch64-gnullvm-0.42
     (arguments
      (list #:skip-build? #t))))
 
+(define-public rust-windows-aarch64-msvc-0.52
+  (package
+    (name "rust-windows-aarch64-msvc")
+    (version "0.52.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows_aarch64_msvc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vvmy1ypvzdvxn9yf0b8ygfl85gl2gpcyvsvqppsmlpisil07amv"))
+       (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-aarch64-msvc-0.48
   (package
+    (inherit rust-windows-aarch64-msvc-0.52)
     (name "rust-windows-aarch64-msvc")
     (version "0.48.0")
     (source (origin
@@ -88667,15 +88690,7 @@ (define-public rust-windows-aarch64-msvc-0.48
                (base32
                 "1wvwipchhywcjaw73h998vzachf668fpqccbhrxzrz5xszh2gvxj"))
               (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-aarch64-msvc-0.42
   (package
@@ -88690,9 +88705,7 @@ (define-public rust-windows-aarch64-msvc-0.42
                (base32
                 "0hsdikjl5sa1fva5qskpwlxzpc5q9l909fpl1w6yy1hglrj8i3p0"))
               (snippet
-               '(delete-file "lib/windows.lib"))))
-    (arguments
-     (list #:skip-build? #t))))
+               '(delete-file "lib/windows.lib"))))))
 
 (define-public rust-windows-aarch64-msvc-0.36
   (package
-- 
2.41.0