From 6f60930129fdbae05cf118bce70bc8924bec3761 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 27 Oct 2023 21:01:18 +0300 Subject: [PATCH] gnu: Add rust-windows-bindgen-0.51. * gnu/packages/crates-io.scm (rust-windows-bindgen-0.51): New variable. Change-Id: I09e72bbeb5323311d89564fdc671c3daf362c310 --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d4df2e1b91..497717a199 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -86319,6 +86319,28 @@ crate.") (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) +(define-public rust-windows-bindgen-0.51 + (package + (name "rust-windows-bindgen") + (version "0.51.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-bindgen" version)) + (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)))) + (define-public rust-windows-i686-gnu-0.48 (package (name "rust-windows-i686-gnu")