From 4fe5991bff32e8c8d8ce6ad793fb5cb7029a63f3 Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Thu, 14 Mar 2024 12:34:10 +0200
Subject: gnu: Add rust-windows-win-3.

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

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

(limited to 'gnu/packages/crates-windows.scm')

diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 538c216770..efcb21e488 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -2265,6 +2265,28 @@ (define-public rust-windows-tokens-0.32
                (base32
                 "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn"))))))
 
+(define-public rust-windows-win-3
+  (package
+    (name "rust-windows-win")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "windows-win" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1p7jbk3i7wj1i6w7chfp4rpbyd6ckgncp6h493wm4frbc8rkxqjq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; unresolved import `windows_win::sys`
+       #:cargo-inputs (("rust-error-code" ,rust-error-code-3))
+       #:cargo-development-inputs (("rust-clipboard-win" ,rust-clipboard-win-5))))
+    (home-page "https://github.com/DoumanAsh/windows-win-rs")
+    (synopsis "Windows hacking library to find windows and access them")
+    (description
+     "Some windows hacking library with utilities to find windows and access them.")
+    (license license:boost1.0)))
+
 (define-public rust-windows-x86-64-gnu-0.52
   (package
     (name "rust-windows-x86-64-gnu")
-- 
cgit v1.2.3