aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZ572 <873216071@qq.com>2022-01-12 23:27:29 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 00:11:50 +0100
commit661e2588a4214b3492c10f9fe33e8e79b02069be (patch)
treeb9a34b510acd379e7efa5ab8b8018f319bed99b5 /gnu/packages
parent11215332401d933f805bd1373a7189fecdbf3337 (diff)
downloadguix-661e2588a4214b3492c10f9fe33e8e79b02069be.tar
guix-661e2588a4214b3492c10f9fe33e8e79b02069be.tar.gz
gnu: Add rust-windows-sys-0.28.
* gnu/packages/crates-io.scm (rust-windows-sys-0.28): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b3e6adc8df..bb55dfdd8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66672,6 +66672,34 @@ crate.")
crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-windows-sys-0.28
+ (package
+ (name "rust-windows-sys")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xkghf343nll9i1yvha1a4spf53mnb5knzmnqj9adgsw5mh3kjl2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.28)
+ ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.28)
+ ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.28)
+ ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.28)
+ ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28))))
+ (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-gen-0.9
(package
(name "rust-windows-gen")