guix-commits
[Top][All Lists]
Advanced

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

21/66: gnu: Add rust-bindgen-0.56.


From: guix-commits
Subject: 21/66: gnu: Add rust-bindgen-0.56.
Date: Tue, 24 Oct 2023 07:54:53 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 97e865213da95d41969bf60f70a971978672f490
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:03 2023 +0100

    gnu: Add rust-bindgen-0.56.
    
    * gnu/packages/crates-io.scm (rust-bindgen-0.56): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I8e227d6d0f2c7770265987b61f2e27c7d7f3782c
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfeb312fec..8eb9fc9ee2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7469,6 +7469,41 @@ bindings to C and C++ libraries.")
     (inputs
      (list clang))))
 
+(define-public rust-bindgen-0.56
+  (package
+    (inherit rust-bindgen-0.57)
+    (name "rust-bindgen")
+    (version "0.56.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "bindgen" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0fajmgk2064ca1z9iq1jjkji63qwwz38z3d67kv6xdy0xgdpk8rd"))))
+    (arguments
+     (list #:cargo-test-flags ``("--release" "--"
+                                 "--skip=test::commandline_multiple_headers")
+           #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+                            ("rust-cexpr" ,rust-cexpr-0.4)
+                            ("rust-clang-sys" ,rust-clang-sys-1)
+                            ("rust-clap" ,rust-clap-2)
+                            ("rust-env-logger" ,rust-env-logger-0.8)
+                            ("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-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-0.1)
+                            ("rust-which" ,rust-which-3))
+           #:cargo-development-inputs `(("rust-clap" ,rust-clap-2)
+                                        ("rust-diff" ,rust-diff-0.1)
+                                        ("rust-shlex" ,rust-shlex-0.1))))
+    (inputs (list clang))))
+
 (define-public rust-bindgen-0.55
   (package
     (inherit rust-bindgen-0.57)



reply via email to

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