Subject: [bug#69890] [PATCH 40/43] gnu: Add rust-bindgen-0.65.

From: normalmente <[email-masked]>
Date: Tue, 19 Mar 2024 03:51:11 +0000

* gnu/packages/crates-io.scm (rust-bindgen-0.65): New variable.

Change-Id: I053b014ccae3974b49f4f9ae1404c39e4a732286
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf8c957b2e..fc9e999e1a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6289,6 +6289,36 @@ (define-public rust-bindgen-0.66
                        ("rust-syn" ,rust-syn-2)
                        ("rust-which" ,rust-which-4))))))
 
+(define-public rust-bindgen-0.65
+  (package
+    (inherit rust-bindgen-0.66)
+    (name "rust-bindgen")
+    (version "0.65.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bindgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1i9wci1h3xnk8hi7cf06capgifnmpk9dd59zqznh6jcsdx37ppyg"))))
+    (arguments
+     `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9)
+                       ("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-cexpr" ,rust-cexpr-0.6)
+                       ("rust-clang-sys" ,rust-clang-sys-1)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-lazycell" ,rust-lazycell-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
+                       ("rust-prettyplease" ,rust-prettyplease-0.2)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-rustc-hash" ,rust-rustc-hash-1)
+                       ("rust-shlex" ,rust-shlex-1)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-which" ,rust-which-4))))))
+
 (define-public rust-bindgen-0.64
   (package
     (inherit rust-bindgen-0.66)
-- 
2.41.0