gnu: Add rust-windows-0.48.

* gnu/packages/crates-io.scm (rust-windows-0.48): New variable.
(rust-windows-0.46): Inherit from rust-windows-0.48.

Change-Id: I748f8f6d387607271d76713990a917f24398e342
This commit is contained in:
Efraim Flashner 2023-10-24 08:31:17 +03:00
parent f98d1dfe67
commit 0b7b23e8a4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -83057,8 +83057,34 @@ (define-public rust-wincolor-0.1
#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-windows-0.48
(package
(name "rust-windows")
(version "0.48.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03vh89ilnxdxdh0n9np4ns4m10fvm93h3b0cc05ipg3qq1mqi1p6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-windows-implement" ,rust-windows-implement-0.48)
("rust-windows-interface" ,rust-windows-interface-0.48)
("rust-windows-targets" ,rust-windows-targets-0.48))))
(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-0.46
(package
(inherit rust-windows-0.48)
(name "rust-windows")
(version "0.46.0")
(source (origin
@ -83068,19 +83094,11 @@ (define-public rust-windows-0.46
(sha256
(base32
"098crdz9gxgy3614ygznqqhn28q097r498b3rg35584nd8gb9b6d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-windows-implement" ,rust-windows-implement-0.46)
("rust-windows-interface" ,rust-windows-interface-0.46)
("rust-windows-targets" ,rust-windows-targets-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))))
("rust-windows-targets" ,rust-windows-targets-0.42))))))
(define-public rust-windows-0.32
(package