guix-commits
[Top][All Lists]
Advanced

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

110/111: gnu: Add rust-bindgen-0.70.


From: guix-commits
Subject: 110/111: gnu: Add rust-bindgen-0.70.
Date: Thu, 21 Nov 2024 08:33:42 -0500 (EST)

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

commit 00d05b8436f2ba550c182be57f0df27c7d505705
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Nov 21 15:23:22 2024 +0200

    gnu: Add rust-bindgen-0.70.
    
    * gnu/packages/crates-io.scm (rust-bindgen-0.70): New variable.
    (rust-bindgen-0.69): Inherit from rust-bindgen-0.70.
    
    Change-Id: I96f795952dfbbcb6f38114e8e993ebac97350a0b
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++-------
 1 file changed, 34 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbf247e257..3b9a20f728 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7647,17 +7647,17 @@ base32 and base16 (hex)")
 that uses Serde for transforming structs into bytes and vice versa!")
     (license license:expat)))
 
-(define-public rust-bindgen-0.69
+(define-public rust-bindgen-0.70
   (package
     (name "rust-bindgen")
-    (version "0.69.5")
+    (version "0.70.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "bindgen" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1240snlcfj663k04bjsg629g4wx6f83flgbjh5rzpgyagk3864r7"))))
+        (base32 "0vyf0jp6apcy9kjyz4s8vldj0xqycnbzb6zv3skkwiqdi3nqz7gl"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9)
@@ -7665,8 +7665,6 @@ that uses Serde for transforming structs into bytes and 
vice versa!")
                        ("rust-cexpr" ,rust-cexpr-0.6)
                        ("rust-clang-sys" ,rust-clang-sys-1)
                        ("rust-itertools" ,rust-itertools-0.10)
-                       ("rust-lazy-static" ,rust-lazy-static-1)
-                       ("rust-lazycell" ,rust-lazycell-1)
                        ("rust-log" ,rust-log-0.4)
                        ("rust-prettyplease" ,rust-prettyplease-0.2)
                        ("rust-proc-macro2" ,rust-proc-macro2-1)
@@ -7674,8 +7672,7 @@ that uses Serde for transforming structs into bytes and 
vice versa!")
                        ("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))))
+                       ("rust-syn" ,rust-syn-2))))
     (inputs (list clang))
     (home-page "https://rust-lang.github.io/rust-bindgen/";)
     (synopsis "Generate Rust FFI bindings to C and C++ libraries")
@@ -7683,6 +7680,36 @@ that uses Serde for transforming structs into bytes and 
vice versa!")
 bindings to C and C++ libraries.")
     (license license:bsd-3)))
 
+(define-public rust-bindgen-0.69
+  (package
+    (inherit rust-bindgen-0.70)
+    (name "rust-bindgen")
+    (version "0.69.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bindgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1240snlcfj663k04bjsg629g4wx6f83flgbjh5rzpgyagk3864r7"))))
+    (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-itertools" ,rust-itertools-0.10)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-lazycell" ,rust-lazycell-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("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.68
   (package
     (inherit rust-bindgen-0.69)



reply via email to

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