diff options
-rw-r--r-- | gnu/packages/crates-windows.scm | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index ef91db0e96..08e7518196 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -1616,28 +1616,48 @@ crate.") (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) -(define-public rust-windows-bindgen-0.52 +(define-public rust-windows-bindgen-0.56 (package (name "rust-windows-bindgen") - (version "0.52.0") + (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 "071lrbhbvh0l8m1wf5000xxmcry1gjpqdxcqm23qmss9d05zn3lp")))) + (base32 "0inv2w78qv6375ndrgm9vilkgscwak80igz8vkf7zw8c6fk3x3m2")))) (build-system cargo-build-system) (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.52)))) + ("rust-windows-metadata" ,rust-windows-metadata-0.56)))) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Windows metadata compiler") - (description "Windows metadata compiler.") + (description "This package provides Windows metadata compiler.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-bindgen-0.52 + (package + (inherit rust-windows-bindgen-0.56) + (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")))) + (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)))))) + (define-public rust-windows-bindgen-0.51 (package (inherit rust-windows-bindgen-0.52) |