aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-09-18 19:59:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:04:24 +0200
commit70d85768bd9430668a15979fe705576d66b93b9f (patch)
tree1ab0b5ef8f38738afc30efe7659837a7ff0c76d5 /gnu/packages/crates-windows.scm
parent884ca408c6630959abbfb4e9bba7dfe06c3e78d9 (diff)
downloadguix-70d85768bd9430668a15979fe705576d66b93b9f.tar.gz
guix-70d85768bd9430668a15979fe705576d66b93b9f.zip
gnu: Add rust-windows-bindgen-0.56.
* gnu/packages/crates-windows.scm (rust-windows-bindgen-0.56): New variable. (rust-windows-bindgen-0.52): Inherit from rust-windows-bindgen-0.56. Change-Id: Iff21885ffb89416f4e72ba9b02c1e4a9cb2becdb
Diffstat (limited to 'gnu/packages/crates-windows.scm')
-rw-r--r--gnu/packages/crates-windows.scm30
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)