gnu: Add rust-windows-bindgen-0.52.

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

Change-Id: Ib84ff26569bc34d94c1a69062d70960eac58152d
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Tomas Volf 2024-02-15 21:26:57 +01:00 committed by Efraim Flashner
parent 90818b39c8
commit a95171d412
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1527,8 +1527,31 @@ (define-public rust-windows-aarch64-msvc-0.28
(base32
"1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))))
(define-public rust-windows-bindgen-0.52
(package
(name "rust-windows-bindgen")
(version "0.52.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "windows-bindgen" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "071lrbhbvh0l8m1wf5000xxmcry1gjpqdxcqm23qmss9d05zn3lp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-rayon" ,rust-rayon-1)
("rust-syn" ,rust-syn-2)
("rust-windows-metadata" ,rust-windows-metadata-0.52))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Windows metadata compiler")
(description "Windows metadata compiler.")
(license (list license:expat license:asl2.0))))
(define-public rust-windows-bindgen-0.51
(package
(inherit rust-windows-bindgen-0.52)
(name "rust-windows-bindgen")
(version "0.51.1")
(source
@ -1538,16 +1561,11 @@ (define-public rust-windows-bindgen-0.51
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0xfdq4q958qal5iks8xkaanf7w3akzfxc58dxvz7amhjg2vic7xw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-rayon" ,rust-rayon-1)
("rust-syn" ,rust-syn-2)
("rust-windows-metadata" ,rust-windows-metadata-0.51))))
(home-page "https://github.com/microsoft/windows-rs")
(synopsis "Windows metadata compiler")
(description "Windows metadata compiler.")
(license (list license:expat license:asl2.0))))
("rust-windows-metadata" ,rust-windows-metadata-0.51))))))
(define-public rust-windows-i686-gnu-0.52
(package