From 4ab8f2c88b1b816bcebe8a695acddf34990b952b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:27:24 +0300 Subject: [PATCH] gnu: Add rust-windows-x86-64-msvc-0.48. * gnu/packages/crates-io.scm (rust-windows-x86-64-msvc-0.48): New variable. (rust-windows-x86-64-msvc-0.42): Inherit from rust-windows-x86-64-msvc-0.48. --- gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 91f0b0e573..5ce77514e9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -73756,8 +73756,30 @@ (define-public rust-windows-x86-64-gnullvm-0.42 '(delete-file "lib/libwindows.a")))) (arguments (list #:skip-build? #t)))) +(define-public rust-windows-x86-64-msvc-0.48 + (package + (name "rust-windows-x86-64-msvc") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-x86_64-msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s")) + (snippet + '(delete-file "lib/windows.0.48.0.lib")))) + (build-system cargo-build-system) + (arguments (list #:skip-build? #t)) + (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-x86-64-msvc-0.42 (package + (inherit rust-windows-x86-64-msvc-0.48) (name "rust-windows-x86-64-msvc") (version "0.42.2") (source (origin @@ -73769,13 +73791,7 @@ (define-public rust-windows-x86-64-msvc-0.42 "1w5r0q0yzx827d10dpjza2ww0j8iajqhmb54s735hhaj66imvv4s")) (snippet '(delete-file "lib/windows.lib")))) - (build-system cargo-build-system) - (arguments (list #:skip-build? #t)) - (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)))) + (arguments (list #:skip-build? #t)))) (define-public rust-windows-x86-64-msvc-0.36 (package