diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2024-10-19 16:49:18 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:00 +0200 |
commit | 5fb6a935135c8260656de8fe4b9f8f4071752a2e (patch) | |
tree | 744225af8598e5c117442fd2e719180455251ca8 | |
parent | b0f84af84be468f652393b4673acedaa47319903 (diff) | |
download | guix-5fb6a935135c8260656de8fe4b9f8f4071752a2e.tar.gz guix-5fb6a935135c8260656de8fe4b9f8f4071752a2e.zip |
gnu: Add rust-windows-bindgen-0.57.
* gnu/packages/crates-windows.scm (rust-windows-bindgen-0.57): New
variable.
(rust-windows-bindgen-0.56): Inherit from rust-windows-bindgen-0.57.
Change-Id: I2413422e25c207fe4dc9e6131836acc17316622b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-windows.scm | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index eddaadab7c..91419195cc 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -1678,17 +1678,17 @@ crate.") (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) -(define-public rust-windows-bindgen-0.56 +(define-public rust-windows-bindgen-0.57 (package (name "rust-windows-bindgen") - (version "0.56.0") + (version "0.57.0") (source (origin (method url-fetch) (uri (crate-uri "windows-bindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0inv2w78qv6375ndrgm9vilkgscwak80igz8vkf7zw8c6fk3x3m2")))) + (base32 "1d67wwhbdwf3rmdbiyfsz55hky2a972y2xqg7iablxv27l8rdjqw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -1696,12 +1696,32 @@ crate.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-syn" ,rust-syn-2) - ("rust-windows-metadata" ,rust-windows-metadata-0.56)))) + ("rust-windows-metadata" ,rust-windows-metadata-0.57)))) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Windows metadata compiler") (description "This package provides Windows metadata compiler.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-bindgen-0.56 + (package + (inherit rust-windows-bindgen-0.57) + (name "rust-windows-bindgen") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0inv2w78qv6375ndrgm9vilkgscwak80igz8vkf7zw8c6fk3x3m2")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2) + ("rust-windows-metadata" ,rust-windows-metadata-0.56)))))) + (define-public rust-windows-bindgen-0.52 (package (inherit rust-windows-bindgen-0.56) |