Subject: [bug#73884] [PATCH v1 07/19] gnu: Add rust-windows-0.57

From: Luca Matei Pintilie <[email-masked]>
Date: Sat, 19 Oct 2024 16:49:23 +0200

Change-Id: I745f4431806045962496f6067c0f379aea062d80
---
 gnu/packages/crates-windows.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 2c7a308ec4..3bb3ad3fd0 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1352,6 +1352,26 @@ (define-public rust-windows-0.58
 if they were just another Rust module.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-0.57
+  (package
+    (name "rust-windows")
+    (version "0.57.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hqid10bqvxa3pbpgvrh2cilf950lxsd9zqfv3rldc73v2s2qd0j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.57)
+                       ("rust-windows-targets" ,rust-windows-targets-0.52))))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "Rust for Windows")
+    (description "This package provides Rust for Windows.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-0.52
   (package
     (inherit rust-windows-0.58)
-- 
2.47.0