Subject: [PATCH 74/91] gnu: Add rust-windows-0.34.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:52 +0100

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

Change-Id: Ib625b56d942ae619fb6258f0d2a0c30e893c7bff
---
 gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7bcbe69be0..620c2a9d0a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83941,10 +83941,33 @@ (define-public rust-windows-0.46
 if they were just another Rust module.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-windows-0.32
+(define-public rust-windows-0.34
   (package
     (inherit rust-windows-0.46)
     (name "rust-windows")
+    (version "0.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17w2wygxjzi06njamyjdws7bjdn2lkplqqgjvdpn29s241j6naa5"))))
+    (arguments
+     `(#:skip-build? #t ; windows namespace is not availeable
+       #:cargo-inputs
+       (("rust-windows-implement" ,rust-windows-implement-0.34)
+        ("rust-windows-interface" ,rust-windows-interface-0.34)
+        ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.34)
+        ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.34)
+        ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.34)
+        ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.34)
+        ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.34))))))
+
+(define-public rust-windows-0.32
+  (package
+    (inherit rust-windows-0.34)
+    (name "rust-windows")
     (version "0.32.0")
     (source (origin
               (method url-fetch)
-- 
2.41.0