From b419679b6980abc928d35d98ec36b68a333f153f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:24:01 +0300 Subject: [PATCH] gnu: Add rust-windows-targets-0.48. * gnu/packages/crates-io.scm (rust-windows-targets-0.48): New variable. (rust-windows-targets-0.42): Inherit from rust-windows-targets-0.48. --- gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0e197085f6..d8e979abce 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -73569,8 +73569,36 @@ if they were just another Rust module.") (description "Macros for the windows crate") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-targets-0.48 + (package + (name "rust-windows-targets") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-targets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mfzg94w0c8h4ya9sva7rra77f3iy1712af9b6bwg03wrpqbc7kv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.48) + ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.48) + ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.48) + ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.48) + ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.48) + ("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.48) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.48)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description + "This package provides code gen support for the windows crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-targets-0.42 (package + (inherit rust-windows-targets-0.48) (name "rust-windows-targets") (version "0.42.2") (source (origin @@ -73580,7 +73608,6 @@ if they were just another Rust module.") (sha256 (base32 "0wfhnib2fisxlx8c507dbmh97kgij4r6kcxdi0f9nk6l1k080lcf")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.42) @@ -73589,12 +73616,7 @@ if they were just another Rust module.") ("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 "Code gen support for the windows crate") - (description - "This package provides code gen support for the windows crate.") - (license (list license:expat license:asl2.0)))) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.42)))))) (define-public rust-windows-tokens-0.32 (package