gnu: Add rust-windows-implement-0.52.

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

Change-Id: I78c41fe0d159eae5d214fbda4c053430043a16ed
This commit is contained in:
Efraim Flashner 2024-03-14 13:33:35 +02:00
parent f4d6c25fd2
commit 6be314fad5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1824,8 +1824,31 @@ (define-public rust-windows-i686-msvc-0.28
(base32
"0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))))
(define-public rust-windows-implement-0.52
(package
(name "rust-windows-implement")
(version "0.52.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-implement" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0il91jkdgnwl20gm8dwbjswsmiq7paif49dyk5kvhwv72wrqq5hj"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "The implement macro for the windows crate")
(description "This package provides the @code{implement} macro for the
windows crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-implement-0.48
(package
(inherit rust-windows-implement-0.52)
(name "rust-windows-implement")
(version "0.48.0")
(source
@ -1835,17 +1858,11 @@ (define-public rust-windows-implement-0.48
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1764n853zd7bb0wn94i0qxfs6kdy7wrz7v9qhdn7x7hvk64fabjy"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "The implement macro for the windows crate")
(description "This package provides the @code{implement} macro for the
windows crate.")
(license (list license:expat license:asl2.0))))
("rust-syn" ,rust-syn-1))))))
(define-public rust-windows-implement-0.46
(package