summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-windows.scm
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-02-15 21:26:57 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:59 +0200
commita95171d412038fc77d1820a41602ec5bc78ab41e (patch)
treebab1f921a50ef3c68b12e91cfd708511291d904a /gnu/packages/crates-windows.scm
parent90818b39c8e847c2135c60bc186a8523055a294e (diff)
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>
Diffstat (limited to 'gnu/packages/crates-windows.scm')
-rw-r--r--gnu/packages/crates-windows.scm26
1 files changed, 22 insertions, 4 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index ac2271e5ad..e50c63f80f 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1527,28 +1527,46 @@ crate.")
(base32
"1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj"))))))
-(define-public rust-windows-bindgen-0.51
+(define-public rust-windows-bindgen-0.52
(package
(name "rust-windows-bindgen")
- (version "0.51.1")
+ (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 "0xfdq4q958qal5iks8xkaanf7w3akzfxc58dxvz7amhjg2vic7xw"))))
+ (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.51))))
+ ("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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0xfdq4q958qal5iks8xkaanf7w3akzfxc58dxvz7amhjg2vic7xw"))))
+ (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))))))
+
(define-public rust-windows-i686-gnu-0.52
(package
(name "rust-windows-i686-gnu")