Subject: [PATCH 07/55] gnu: Add rust-windows-aarch64-gnullvm-0.52.

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

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

Change-Id: I33a9e0380771742e40a40b762be47e51b3573813
---
 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 91f1f631c4..5b7b67d366 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88616,8 +88616,31 @@ (define-public rust-windows-0.9
         ("rust-windows-gen" ,rust-windows-gen-0.9)
         ("rust-windows-macros" ,rust-windows-macros-0.9))))))
 
+(define-public rust-windows-aarch64-gnullvm-0.52
+  (package
+    (name "rust-windows-aarch64-gnullvm")
+    (version "0.52.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows_aarch64_gnullvm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1shmn1kbdc0bpphcxz0vlph96bxz0h1jlmh93s9agf2dbpin8xyb"))
+       (snippet
+        #~(delete-file "lib/libwindows.0.52.0.a"))))
+    (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-gnullvm-0.48
   (package
+    (inherit rust-windows-aarch64-gnullvm-0.52)
     (name "rust-windows-aarch64-gnullvm")
     (version "0.48.0")
     (source (origin
@@ -88628,15 +88651,7 @@ (define-public rust-windows-aarch64-gnullvm-0.48
                (base32
                 "1g71yxi61c410pwzq05ld7si4p9hyx6lf5fkw21sinvr3cp5gbli"))
               (snippet
-               '(delete-file "lib/libwindows.0.48.0.a"))))
-    (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/libwindows.0.48.0.a"))))))
 
 (define-public rust-windows-aarch64-gnullvm-0.42
   (package
@@ -88651,9 +88666,7 @@ (define-public rust-windows-aarch64-gnullvm-0.42
                (base32
                 "1y4q0qmvl0lvp7syxvfykafvmwal5hrjb4fmv04bqs0bawc52yjr"))
               (snippet
-               '(delete-file "lib/libwindows.a"))))
-    (arguments
-     (list #:skip-build? #t))))
+               '(delete-file "lib/libwindows.a"))))))
 
 (define-public rust-windows-aarch64-msvc-0.52
   (package
-- 
2.41.0