summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-27 21:01:18 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:54 +0200
commit6f60930129fdbae05cf118bce70bc8924bec3761 (patch)
tree285b56c8070b144d26e7a7ee5f6b8a7cce9ab7ab /gnu
parenta3f4f534bc7ceaedfc2c0a7a8ae137f6c6316c0b (diff)
downloadguix-6f60930129fdbae05cf118bce70bc8924bec3761.tar.gz
gnu: Add rust-windows-bindgen-0.51.
* gnu/packages/crates-io.scm (rust-windows-bindgen-0.51): New variable.

Change-Id: I09e72bbeb5323311d89564fdc671c3daf362c310
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
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")