Subject: [PATCH 10/39] gnu: Add rust-windows-i686-msvc-0.39.

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

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

Change-Id: I5d2707970ad5809c790bee5baeb21bad6e511f43
---
 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 a765b0fc3f..4cd23ec8f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83300,7 +83300,7 @@ (define-public rust-windows-i686-msvc-0.48
                (base32
                 "004fkyqv3if178xx9ksqc4qqv8sz8n72mpczsr2vy8ffckiwchj5"))
               (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))
@@ -83323,10 +83323,25 @@ (define-public rust-windows-i686-msvc-0.42
                (base32
                 "0q0h9m2aq1pygc199pa5jgc952qhcnf0zn688454i7v4xjv41n24"))
               (snippet
-               '(delete-file "lib/windows.lib"))))
+               #~(delete-file "lib/windows.lib"))))
     (arguments
      (list #:skip-build? #t))))
 
+(define-public rust-windows-i686-msvc-0.39
+  (package
+    (inherit rust-windows-i686-msvc-0.42)
+    (name "rust-windows-i686-msvc")
+    (version "0.39.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows_i686_msvc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01hiv9msxssy5iqxs7bczvf094k4mz56yi4z1bhj32c2b3zcpivv"))
+       (snippet
+        #~(delete-file "lib/windows.lib"))))))
+
 (define-public rust-windows-i686-msvc-0.36
   (package
     (inherit rust-windows-i686-msvc-0.42)
-- 
2.34.1