Subject: [PATCH 75/91] gnu: Add rust-win-sys-0.3.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:53 +0100

* gnu/packages/crates-io.scm (rust-win-sys-0.3): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 620c2a9d0a..31efa554ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83718,6 +83718,26 @@ (define-public rust-win-crypto-ng-0.5
     (description "Safe bindings to Windows Cryptography API: Next Generation")
     (license license:bsd-3)))
 
+(define-public rust-win-sys-0.3
+  (package
+    (name "rust-win-sys")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "win-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1r9b8nxxl6pba24ajrklpqyfnzc8hni9pd4yn00s5ky1k2514ysv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t ; windows namespace is not availeable
+       #:cargo-inputs (("rust-windows" ,rust-windows-0.34))))
+    (home-page "https://github.com/elast0ny/win-sys")
+    (synopsis "Thin Rust wrapper around some Windows native apis")
+    (description "Thin Rust wrapper around some Windows native apis")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-winapi-0.3
   (package
     (name "rust-winapi")
-- 
2.41.0