diff options
author | Daniel Ziltener <dziltener@lyrion.ch> | 2023-12-11 18:52:15 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:43 +0200 |
commit | 424b92639a6ea50a9c1a6f969d9f0d476d8bf12c (patch) | |
tree | cb7cd441242f0b2b21124d0882b17f8fe6149597 | |
parent | 266c95b7a596283620b4a317378a82e8d27ac04c (diff) |
gnu: Add rust-windows-sys-0.52.
* gnu/packages/crates-io.scm (rust-windows-sys-0.52): New variable.
(rust-windows-sys-0.48): Inherit from urst-windows-sys-0.52.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I07fac823f55d6ca9f88e0055b5dc9c6cc35035b9
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 08015bd692..e62c44c354 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -91879,21 +91879,21 @@ crate.") (description "Windows metadata reader.") (license (list license:expat license:asl2.0)))) -(define-public rust-windows-sys-0.48 +(define-public rust-windows-sys-0.52 (package (name "rust-windows-sys") - (version "0.48.0") + (version "0.52.0") (source (origin (method url-fetch) (uri (crate-uri "windows-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1aan23v5gs7gya1lc46hqn9mdh8yph3fhxmhxlw36pn6pqc28zb7")))) + "0gd3v4ji88490zgb6b5mq5zgbvwv7zx1ibn8v3x83rwcdbryaar8")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.48)))) + #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)))) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Rust for Windows") (description "The windows crate lets you call any Windows API past, @@ -91902,6 +91902,22 @@ 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.48 + (package + (inherit rust-windows-sys-0.52) + (name "rust-windows-sys") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1aan23v5gs7gya1lc46hqn9mdh8yph3fhxmhxlw36pn6pqc28zb7")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.48)))))) + (define-public rust-windows-sys-0.45 (package (inherit rust-windows-sys-0.48) |