Subject: [bug#74551] [PATCH v2 04/49] gnu: Add rust-winsafe-0.0.19.

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

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

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

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 99a4a6929f..4978681fff 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1348,6 +1348,24 @@ (define-public rust-winresource-0.1
 icons and metadata for executables.")
     (license license:expat)))
 
+(define-public rust-winsafe-0.0.19
+  (package
+    (name "rust-winsafe")
+    (version "0.0.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "winsafe" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0169xy9mjma8dys4m8v4x0xhw2gkbhv2v1wsbvcjl9bhnxxd2dfi"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/rodrigocfd/winsafe")
+    (synopsis "Windows API and GUI in safe, idiomatic Rust")
+    (description
+     "This package provides Windows API and GUI in safe, idiomatic Rust.")
+    (license license:expat)))
+
 (define-public rust-winutil-0.1
   (package
     (name "rust-winutil")
-- 
2.46.0