guix-commits
[Top][All Lists]
Advanced

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

386/470: gnu: Add rust-bindgen-0.61.


From: guix-commits
Subject: 386/470: gnu: Add rust-bindgen-0.61.
Date: Thu, 16 Mar 2023 03:02:21 -0400 (EDT)

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

commit b859e0bb34549b772462761f7e0003d639c43085
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 ddc1ec8bde..cb8783bb17 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]