Subject: [PATCH v2 05/49] gnu: Add rust-windows-0.56.

From: Jordan Moore <[email-masked]>
Date: Sat, 30 Nov 2024 11:54:40 -0500

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

Change-Id: Ieca1871c4a1a5b29c6fccf37b25a199f0dc0abd8
---
 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 4978681fff..d64ff7a56a 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1509,6 +1509,26 @@ (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
+    (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"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.56)
+                       ("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.46.0