Subject: [PATCH rust-team v3 26/73] gnu: Add rust-windows-0.56.

From: Aaron Covrig <[email-masked]>
Date: Mon, 2 Dec 2024 22:00:06 -0500

From: Jordan Moore <[email-masked]>

* gnu/packages/crates-windows.scm (rust-windows-0.56): New variable.
---
 gnu/packages/crates-windows.scm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 5777796cd1..6b8f0b8fdd 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1488,9 +1488,25 @@ (define-public rust-windows-0.57
      `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.57)
                        ("rust-windows-targets" ,rust-windows-targets-0.52))))))
 
+(define-public rust-windows-0.56
+  (package
+    (inherit rust-windows-0.57)
+    (name "rust-windows")
+    (version "0.56.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cp10nzrqgrlk91dpwxjcpzyy6imr5vxr5f898pss7nz3gq9vrhx"))))
+    (arguments
+     `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.56)
+                       ("rust-windows-targets" ,rust-windows-targets-0.52))))))
+
 (define-public rust-windows-0.52
   (package
-    (inherit rust-windows-0.58)
+    (inherit rust-windows-0.56)
     (name "rust-windows")
     (version "0.52.0")
     (source
-- 
2.47.0