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

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

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

Change-Id: I927e632f424b2ddf14b7d89d72604aec2b40ba19
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++----------
 1 file changed, 24 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d90cf94c54..d634db8316 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89373,8 +89373,30 @@ (define-public rust-windows-x86-64-gnu-0.28
                (base32
                 "0m79bhdr54g4h4wh2q8wkjlkypb5wvl7xzhc2csiaqb5yl4z8cdw"))))))
 
+(define-public rust-windows-x86-64-gnullvm-0.52
+  (package
+    (name "rust-windows-x86-64-gnullvm")
+    (version "0.52.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows_x86_64_gnullvm" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17lllq4l2k1lqgcnw1cccphxp9vs7inq99kjlm2lfl9zklg7wr8s"))
+       (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-x86-64-gnullvm-0.48
   (package
+    (inherit rust-windows-x86-64-gnullvm-0.52)
     (name "rust-windows-x86-64-gnullvm")
     (version "0.48.0")
     (source (origin
@@ -89385,14 +89407,7 @@ (define-public rust-windows-x86-64-gnullvm-0.48
                (base32
                 "0lxryz3ysx0145bf3i38jkr7f9nxiym8p3syklp8f20yyk0xp5kq"))
               (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-x86-64-gnullvm-0.42
   (package
@@ -89407,8 +89422,7 @@ (define-public rust-windows-x86-64-gnullvm-0.42
                (base32
                 "18wl9r8qbsl475j39zvawlidp1bsbinliwfymr43fibdld31pm16"))
               (snippet
-               '(delete-file "lib/libwindows.a"))))
-    (arguments (list #:skip-build? #t))))
+               '(delete-file "lib/libwindows.a"))))))
 
 (define-public rust-windows-x86-64-msvc-0.52
   (package
-- 
2.41.0