guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/84: gnu: Add rust-bindgen-0.69.


From: guix-commits
Subject: 05/84: gnu: Add rust-bindgen-0.69.
Date: Mon, 8 Jan 2024 12:53:55 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 7f8cc7f3510ed3c50b083921cb4e911d9288178e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 7 11:51:08 2024 +0200

    gnu: Add rust-bindgen-0.69.
    
    * gnu/packages/crates-io.scm (rust-bindgen-0.69): New variable.
    (rust-bindgen-0.66): Inherit from rust-bindgen-0.69.
    
    Change-Id: I54fef9452364ff9b299c935b6caf06c090f7f128
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a3ec077d5b..336e83d1d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5889,17 +5889,17 @@ and no more (caveat: black_box is still missing!).")
 that uses Serde for transforming structs into bytes and vice versa!")
     (license license:expat)))
 
-(define-public rust-bindgen-0.66
+(define-public rust-bindgen-0.69
   (package
     (name "rust-bindgen")
-    (version "0.66.1")
+    (version "0.69.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "bindgen" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "19yj6fsb08x0l1pg871vvfvlx1mglamz8hyjpazhfc90zh34xf7j"))))
+        (base32 "1hkrccfri0223b2r5cvacy83ld6s76n2m68518bsfilrhk1ypz4z"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9)
@@ -5918,14 +5918,43 @@ that uses Serde for transforming structs into bytes and 
vice versa!")
                        ("rust-shlex" ,rust-shlex-1)
                        ("rust-syn" ,rust-syn-2)
                        ("rust-which" ,rust-which-4))))
-    (inputs
-     (list clang))
+    (inputs (list clang))
     (home-page "https://rust-lang.github.io/rust-bindgen/";)
     (synopsis "Generate Rust FFI bindings to C and C++ libraries")
     (description "This package can be used to automatically generate Rust FFI
 bindings to C and C++ libraries.")
     (license license:bsd-3)))
 
+(define-public rust-bindgen-0.66
+  (package
+    (inherit rust-bindgen-0.69)
+    (name "rust-bindgen")
+    (version "0.66.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bindgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19yj6fsb08x0l1pg871vvfvlx1mglamz8hyjpazhfc90zh34xf7j"))))
+    (arguments
+     `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9)
+                       ("rust-bitflags" ,rust-bitflags-2)
+                       ("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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]