Subject: [bug#74551] [PATCH v2 08/49] gnu: Add rust-windows-version-0.1.

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

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

Change-Id: Iead50939e00d9f7d735c172a3f2b7fb56ab93b91
---
 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 9914263f7f..173f51d542 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -2983,6 +2983,26 @@ (define-public rust-windows-tokens-0.32
                (base32
                 "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn"))))))
 
+(define-public rust-windows-version-0.1
+  (package
+    (name "rust-windows-version")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-version" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05a5hia3d2vxd16vj2hxiyicxaqdjcm9sgpip4pzza4vgi2sm639"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52))
+       #:cargo-development-inputs (("rust-windows-bindgen" ,rust-windows-bindgen-0.56))))
+    (home-page "https://github.com/microsoft/windows-rs")
+    (synopsis "Windows version information")
+    (description "This package provides Windows version information.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-win-3
   (package
     (name "rust-windows-win")
-- 
2.46.0