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

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

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

Change-Id: I7bc3d62c8a5cf3d04bc87a092e219eef5905acdc
---
 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 4cd23ec8f6..d24b69f5a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83219,7 +83219,7 @@ (define-public rust-windows-i686-gnu-0.48
                (base32
                 "0hd2v9kp8fss0rzl83wzhw0s5z8q1b4875m6s1phv0yvlxi1jak2"))
               (snippet
-               '(delete-file "lib/libwindows.0.48.0.a"))))
+               #~(delete-file "lib/libwindows.0.48.0.a"))))
     (build-system cargo-build-system)
     (arguments
      (list #:skip-build? #t))
@@ -83242,10 +83242,25 @@ (define-public rust-windows-i686-gnu-0.42
                (base32
                 "0kx866dfrby88lqs9v1vgmrkk1z6af9lhaghh5maj7d4imyr47f6"))
               (snippet
-               '(delete-file "lib/libwindows.a"))))
+               #~(delete-file "lib/libwindows.a"))))
     (arguments
      (list #:skip-build? #t))))
 
+(define-public rust-windows-i686-gnu-0.39
+  (package
+    (inherit rust-windows-i686-gnu-0.42)
+    (name "rust-windows-i686-gnu")
+    (version "0.39.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows_i686_gnu" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06wynhxklmh3s1ril9bh00rhv1npppcyirsp60p09xx501qwagvn"))
+       (snippet
+        #~(delete-file "lib/libwindows.a"))))))
+
 (define-public rust-windows-i686-gnu-0.36
   (package
     (inherit rust-windows-i686-gnu-0.42)
-- 
2.34.1