diff mbox series

[bug#67515,75/91] gnu: Add rust-win-sys-0.3.

Message ID DU2P193MB2132C0CF7915EA9E457E9535F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:12 p.m. UTC
* 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 mbox series

Patch

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")