Subject: [bug#66842] [PATCH 12/39] gnu: Add rust-windows-aarch64-msvc-0.39.

From: Jaeme Sifat <[email-masked]>
Date: Mon, 30 Oct 2023 22:52:16 -0400

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

Change-Id: I1af23976f24962c059dca875923d314b2150a4ec
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d24b69f5a7..4355d8e9a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83138,7 +83138,7 @@ (define-public rust-windows-aarch64-msvc-0.48
                (base32
                 "1wvwipchhywcjaw73h998vzachf668fpqccbhrxzrz5xszh2gvxj"))
               (snippet
-               '(delete-file "lib/windows.0.48.0.lib"))))
+               #~(delete-file "lib/windows.0.48.0.lib"))))
     (build-system cargo-build-system)
     (arguments
      (list #:skip-build? #t))
@@ -83161,10 +83161,25 @@ (define-public rust-windows-aarch64-msvc-0.42
                (base32
                 "0hsdikjl5sa1fva5qskpwlxzpc5q9l909fpl1w6yy1hglrj8i3p0"))
               (snippet
-               '(delete-file "lib/windows.lib"))))
+               #~(delete-file "lib/windows.lib"))))
     (arguments
      (list #:skip-build? #t))))
 
+(define-public rust-windows-aarch64-msvc-0.39
+  (package
+    (inherit rust-windows-aarch64-msvc-0.42)
+    (name "rust-windows-aarch64-msvc")
+    (version "0.39.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows_aarch64_msvc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1wj0nfmyli4bn5af243r4s3zncxv0n4j6dd8zyb41gcnc1k12xzc"))
+       (snippet
+        #~(delete-file "lib/windows.lib"))))))
+
 (define-public rust-windows-aarch64-msvc-0.36
   (package
     (inherit rust-windows-aarch64-msvc-0.42)
-- 
2.34.1