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

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

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

Change-Id: I2ab679e86ccd13fafc7aa6666499b15f09dbc99a
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 047c4cc0c7..1ba9103caf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83046,6 +83046,27 @@ (define-public rust-windows-0.46
                        ("rust-windows-interface" ,rust-windows-interface-0.46)
                        ("rust-windows-targets" ,rust-windows-targets-0.42))))))
 
+(define-public rust-windows-0.39
+  (package
+    (inherit rust-windows-0.46)
+    (name "rust-windows")
+    (version "0.39.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0jkr4rxj6jn7brqxycr1pjgvnixsimsiywl4a7v20q5ca05bvi7i"))))
+    (arguments
+     `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.39)
+                       ("rust-windows-interface" ,rust-windows-interface-0.39)
+                       ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.39)
+                       ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.39)
+                       ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.39)
+                       ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.39)
+                       ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.39))))))
+
 (define-public rust-windows-0.32
   (package
     (inherit rust-windows-0.46)
-- 
2.34.1