Subject: [bug#71052] [PATCH v2 8/9] Added rust-winsafe

From: Julian Flake <[email-masked]>
Date: Sun, 19 May 2024 14:43:44 +0200

Change-Id: Iba8c0af1ffec1d29d2442b09518a8a35e86a14e0
---
 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3a07c11996..8efbaa67a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80027,6 +80027,23 @@ (define-public rust-zvariant-utils-1
     (description "Various utilities used internally by the zvariant crate.")
     (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 "Windows API and GUI in safe, idiomatic Rust containing low-level Win32 API constants, functions, structs and high-level structs to build native Win32 GUI application.")
+    (license license:expat)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
-- 
2.41.0