guix-commits
[Top][All Lists]
Advanced

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

80/89: gnu: Add rust-bindgen-0.61.


From: guix-commits
Subject: 80/89: gnu: Add rust-bindgen-0.61.
Date: Thu, 23 Feb 2023 10:24:16 -0500 (EST)

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

commit 48ecc66bfca496e3b5b385d91d14ddeee46b44fe
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 17:15:13 2023 +0200

    gnu: Add rust-bindgen-0.61.
    
    * gnu/packages/crates-io.scm (rust-bindgen-0.61): New variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9c909a07a..eff8c6326a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6162,6 +6162,35 @@ 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.61
+  (package
+    (inherit rust-bindgen-0.63)
+    (name "rust-bindgen")
+    (version "0.61.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "bindgen" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"16phlka8ykx28jlk7l637vlr9h01j8mh2s0d6km6z922l5c2w0la"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("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-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-1)
+        ("rust-which" ,rust-which-4))))))
+
 (define-public rust-bindgen-0.59
   (package
     (inherit rust-bindgen-0.63)



reply via email to

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