gnu: Add rust-windows-implement-0.39.

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

Change-Id: I180826bc7ba0a91b69553286e364bf79537a24d2
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Jaeme Sifat 2023-10-30 22:52:19 -04:00 committed by Efraim Flashner
parent fdb0ea10ed
commit 68ffa2155f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -89266,8 +89266,25 @@ (define-public rust-windows-implement-0.44
("rust-quote" ,rust-quote-1) ("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)))))) ("rust-syn" ,rust-syn-1))))))
(define-public rust-windows-implement-0.39
(package
(inherit rust-windows-implement-0.46)
(name "rust-windows-implement")
(version "0.39.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-implement" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ryfy5sgf26xmflf33zabzqn10pp6pjrbz75yh2xrdcwa27zj0ds"))))
(arguments
`(#:cargo-inputs (("rust-syn" ,rust-syn-1)
("rust-windows-tokens" ,rust-windows-tokens-0.39))))))
(define-public rust-windows-implement-0.32 (define-public rust-windows-implement-0.32
(package (package
(inherit rust-windows-implement-0.46)
(name "rust-windows-implement") (name "rust-windows-implement")
(version "0.32.0") (version "0.32.0")
(source (origin (source (origin
@ -89277,17 +89294,11 @@ (define-public rust-windows-implement-0.32
(sha256 (sha256
(base32 (base32
"0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz")))) "0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-syn" ,rust-syn-1) (("rust-syn" ,rust-syn-1)
("rust-windows-tokens" ,rust-windows-tokens-0.32)))) ("rust-windows-tokens" ,rust-windows-tokens-0.32))))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Implement macro for the windows crate")
(description "This package provides the implement macro for the windows
crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-interface-0.48 (define-public rust-windows-interface-0.48
(package (package