guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#59389] [PATCH v2 08/26] gnu: Add rust-windows-sys-0.42.


From: jgart
Subject: [bug#59389] [PATCH v2 08/26] gnu: Add rust-windows-sys-0.42.
Date: Sat, 19 Nov 2022 13:14:03 -0600

* gnu/packages/crates-io.scm (rust-windows-sys-0.42): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 847292c0ff..b4905dd473 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67863,6 +67863,35 @@ (define-public rust-windows-implement-0.32
 crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-windows-sys-0.42
+  (package
+    (name "rust-windows-sys")
+    (version "0.42.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "windows-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "19waf8aryvyq9pzk0gamgfwjycgzk4gnrazpfvv171cby0h1hgjs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-windows-aarch64-gnullvm" 
,rust-windows-aarch64-gnullvm-0.42)
+                       ("rust-windows-aarch64-msvc" 
,rust-windows-aarch64-msvc-0.42)
+                       ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.42)
+                       ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.42)
+                       ("rust-windows-x86-64-gnu" 
,rust-windows-x86-64-gnu-0.42)
+                       ("rust-windows-x86-64-gnullvm" 
,rust-windows-x86-64-gnullvm-0.42)
+                       ("rust-windows-x86-64-msvc" 
,rust-windows-x86-64-msvc-0.42))))
+    (home-page "https://github.com/microsoft/windows-rs";)
+    (synopsis "Rust for Windows")
+    (description "The windows crate lets you call any Windows API past,
+present, and future using code generated on the fly directly from the metadata
+describing the API and right into your Rust package where you can call them as
+if they were just another Rust module.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-windows-sys-0.36
   (package
     (name "rust-windows-sys")
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]